@@ -18,7 +18,7 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
1818 await d.file ("test.scss" , "a {b: c}" ).create ();
1919
2020 var sass = await update (["test.scss:out.css" ]);
21- expect (sass.stdout, emits ('Compiled test.scss to out.css.' ));
21+ expect (sass.stdout, emits (endsWith ( 'Compiled test.scss to out.css.' ) ));
2222 await sass.shouldExit (0 );
2323
2424 await d
@@ -32,7 +32,7 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
3232 await d.file ("test.scss" , "a {b: c}" ).create ();
3333
3434 var sass = await update (["test.scss:out.css" ]);
35- expect (sass.stdout, emits ('Compiled test.scss to out.css.' ));
35+ expect (sass.stdout, emits (endsWith ( 'Compiled test.scss to out.css.' ) ));
3636 await sass.shouldExit (0 );
3737
3838 await d
@@ -45,14 +45,14 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
4545 await d.file ("test.scss" , "@import 'other'" ).create ();
4646
4747 var sass = await update (["test.scss:out.css" ]);
48- expect (sass.stdout, emits ('Compiled test.scss to out.css.' ));
48+ expect (sass.stdout, emits (endsWith ( 'Compiled test.scss to out.css.' ) ));
4949 await sass.shouldExit (0 );
5050
5151 await tick;
5252 await d.file ("other.scss" , "x {y: z}" ).create ();
5353
5454 sass = await update (["test.scss:out.css" ]);
55- expect (sass.stdout, emits ('Compiled test.scss to out.css.' ));
55+ expect (sass.stdout, emits (endsWith ( 'Compiled test.scss to out.css.' ) ));
5656 await sass.shouldExit (0 );
5757
5858 await d
@@ -66,16 +66,16 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
6666 await d.file ("test2.scss" , r"$var: 2; @import 'other'" ).create ();
6767
6868 var sass = await update (["test1.scss:out1.css" , "test2.scss:out2.css" ]);
69- expect (sass.stdout, emits ('Compiled test1.scss to out1.css.' ));
70- expect (sass.stdout, emits ('Compiled test2.scss to out2.css.' ));
69+ expect (sass.stdout, emits (endsWith ( 'Compiled test1.scss to out1.css.' ) ));
70+ expect (sass.stdout, emits (endsWith ( 'Compiled test2.scss to out2.css.' ) ));
7171 await sass.shouldExit (0 );
7272
7373 await tick;
7474 await d.file ("other.scss" , r"x {y: $var}" ).create ();
7575
7676 sass = await update (["test1.scss:out1.css" , "test2.scss:out2.css" ]);
77- expect (sass.stdout, emits ('Compiled test1.scss to out1.css.' ));
78- expect (sass.stdout, emits ('Compiled test2.scss to out2.css.' ));
77+ expect (sass.stdout, emits (endsWith ( 'Compiled test1.scss to out1.css.' ) ));
78+ expect (sass.stdout, emits (endsWith ( 'Compiled test2.scss to out2.css.' ) ));
7979 await sass.shouldExit (0 );
8080
8181 await d
@@ -90,7 +90,7 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
9090 var sass = await update (["-:out.css" ]);
9191 sass.stdin.writeln ("a {b: c}" );
9292 sass.stdin.close ();
93- expect (sass.stdout, emits ('Compiled stdin to out.css.' ));
93+ expect (sass.stdout, emits (endsWith ( 'Compiled stdin to out.css.' ) ));
9494 await sass.shouldExit (0 );
9595
9696 await d
@@ -100,7 +100,7 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
100100 sass = await update (["-:out.css" ]);
101101 sass.stdin.writeln ("x {y: z}" );
102102 sass.stdin.close ();
103- expect (sass.stdout, emits ('Compiled stdin to out.css.' ));
103+ expect (sass.stdout, emits (endsWith ( 'Compiled stdin to out.css.' ) ));
104104 await sass.shouldExit (0 );
105105
106106 await d
@@ -142,7 +142,7 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
142142 await d.file ("test2.scss" , "d {e: f}" ).create ();
143143
144144 var sass = await update (["test1.scss:out1.css" , "test2.scss:out2.css" ]);
145- expect (sass.stdout, emits ('Compiled test2.scss to out2.css.' ));
145+ expect (sass.stdout, emits (endsWith ( 'Compiled test2.scss to out2.css.' ) ));
146146 await sass.shouldExit (0 );
147147
148148 await d.file ("out1.css" , "x {y: z}" ).validate ();
0 commit comments