You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by hu...@apache.org on 2023/01/01 11:29:02 UTC

[plc4x] branch develop updated: fix(plc4j): fix test for simulated driver.

This is an automated email from the ASF dual-hosted git repository.

hutcheb pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 7a8d1075d1 fix(plc4j): fix test for simulated driver.
7a8d1075d1 is described below

commit 7a8d1075d1b6a9fc26a97fab13521d4a9048a75e
Author: Ben Hutcheson <be...@gmail.com>
AuthorDate: Sun Jan 1 12:26:07 2023 +0100

    fix(plc4j): fix test for simulated driver.
---
 .../test/java/org/apache/plc4x/java/simulated/SimulatedDriverTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4j/drivers/simulated/src/test/java/org/apache/plc4x/java/simulated/SimulatedDriverTest.java b/plc4j/drivers/simulated/src/test/java/org/apache/plc4x/java/simulated/SimulatedDriverTest.java
index e6f6128e14..ec8402ba2c 100644
--- a/plc4j/drivers/simulated/src/test/java/org/apache/plc4x/java/simulated/SimulatedDriverTest.java
+++ b/plc4j/drivers/simulated/src/test/java/org/apache/plc4x/java/simulated/SimulatedDriverTest.java
@@ -51,7 +51,7 @@ class SimulatedDriverTest implements WithAssertions {
     void wrongUrl() {
         assertThatThrownBy(() -> SUT.getConnection("simulated:"))
             .isInstanceOf(PlcConnectionException.class)
-            .hasMessage("Invalid URL: no device name given");
+            .hasMessage("Invalid URL: no device name given.");
     }
 
 }
\ No newline at end of file