Skip to content

Commit d059e2b

Browse files
authored
Merge pull request ros2#224 from ros2/relax_order_of_output_matching
update expected output
2 parents fd507c4 + 50592c3 commit d059e2b

8 files changed

Lines changed: 7 additions & 9 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
I heard: \[Hello World: \d+\]
1+
Publishing: 'Hello World: (\d+)'(\n.*)*I heard: \[Hello World: \1\]
2+
Incoming request: \[a: \d+, b: \d+\]
23
Got result: \[\d+\]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
I heard: \[Hello World: \d+\]
1+
Publishing: 'Hello World: (\d+)'(\n.*)*I heard: \[Hello World: \1\]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
Incoming request: \[a: \d+, b: \d+\]
12
Got result: \[\d+\]
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Incrementing and sending with value: (\d+), and address: (0x([A-Z]|\d)+)
2-
Received message with value: \1, and address: \2
1+
Incrementing and sending with value: (\d+), and address: (0x([A-Z]|\d)+)(\n.*)*Received message with value: \1, and address: \2
32
sleeping for 1 second...
43
done.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Published message with value: (\d+), and address: (0x([A-Z]|\d)+)
2-
Received message with value: \1, and address: \2
1+
Published message with value: (\d+), and address: (0x([A-Z]|\d)+)(\n.*)* Received message with value: \1, and address: \2

logging_demo/test/logging_demo_main_debug_severity.regex

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[DEBUG] [logger_usage_demo]: Count divides into 12 (function evaluated to true)

pendulum_control/test/pendulum_demo.regex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@ rttest statistics:
88
- Max: \d+ ns
99
- Mean: \d+.\d+ ns
1010
- Standard deviation: \d+(\.\d+)?(e[\+\-]\d+)?
11-
12-
1311
PendulumMotor received \d+ messages
1412
PendulumController received \d+ messages

0 commit comments

Comments
 (0)