File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ mod tests {
1414 . arg ( "fooblywoobly" ) // assuming this group doesnt exist
1515 . fails ( )
1616 . code_is ( 1 )
17- . stderr_contains ( "wall: invalid group argument" ) ;
17+ . stderr_is ( "wall: invalid group argument\n " ) ;
1818 }
1919
2020 #[ test]
@@ -24,7 +24,7 @@ mod tests {
2424 . arg ( "99999" ) // assuming this group doesnt exist
2525 . fails ( )
2626 . code_is ( 1 )
27- . stderr_contains ( "wall: 99999: unknown gid" ) ;
27+ . stderr_is ( "wall: 99999: unknown gid\n " ) ;
2828 }
2929
3030 #[ test]
@@ -34,7 +34,7 @@ mod tests {
3434 . arg ( "some text to wall" )
3535 . succeeds ( )
3636 . code_is ( 0 )
37- . stderr_contains ( "wall: --nobanner is available only for root" ) ;
37+ . stderr_is ( "wall: --nobanner is available only for root\n " ) ;
3838 }
3939
4040 #[ test]
@@ -44,7 +44,7 @@ mod tests {
4444 . arg ( "0" )
4545 . fails ( )
4646 . code_is ( 1 )
47- . stderr_contains ( "wall: invalid timeout argument: 0" ) ;
47+ . stderr_is ( "wall: invalid timeout argument: 0\n " ) ;
4848 }
4949
5050 #[ test]
You can’t perform that action at this time.
0 commit comments