@@ -18,7 +18,7 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
18
18
await d.file ("test.scss" , "a {b: c}" ).create ();
19
19
20
20
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.' ) ));
22
22
await sass.shouldExit (0 );
23
23
24
24
await d
@@ -32,7 +32,7 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
32
32
await d.file ("test.scss" , "a {b: c}" ).create ();
33
33
34
34
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.' ) ));
36
36
await sass.shouldExit (0 );
37
37
38
38
await d
@@ -45,14 +45,14 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
45
45
await d.file ("test.scss" , "@import 'other'" ).create ();
46
46
47
47
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.' ) ));
49
49
await sass.shouldExit (0 );
50
50
51
51
await tick;
52
52
await d.file ("other.scss" , "x {y: z}" ).create ();
53
53
54
54
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.' ) ));
56
56
await sass.shouldExit (0 );
57
57
58
58
await d
@@ -66,16 +66,16 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
66
66
await d.file ("test2.scss" , r"$var: 2; @import 'other'" ).create ();
67
67
68
68
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.' ) ));
71
71
await sass.shouldExit (0 );
72
72
73
73
await tick;
74
74
await d.file ("other.scss" , r"x {y: $var}" ).create ();
75
75
76
76
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.' ) ));
79
79
await sass.shouldExit (0 );
80
80
81
81
await d
@@ -90,7 +90,7 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
90
90
var sass = await update (["-:out.css" ]);
91
91
sass.stdin.writeln ("a {b: c}" );
92
92
sass.stdin.close ();
93
- expect (sass.stdout, emits ('Compiled stdin to out.css.' ));
93
+ expect (sass.stdout, emits (endsWith ( 'Compiled stdin to out.css.' ) ));
94
94
await sass.shouldExit (0 );
95
95
96
96
await d
@@ -100,7 +100,7 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
100
100
sass = await update (["-:out.css" ]);
101
101
sass.stdin.writeln ("x {y: z}" );
102
102
sass.stdin.close ();
103
- expect (sass.stdout, emits ('Compiled stdin to out.css.' ));
103
+ expect (sass.stdout, emits (endsWith ( 'Compiled stdin to out.css.' ) ));
104
104
await sass.shouldExit (0 );
105
105
106
106
await d
@@ -142,7 +142,7 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
142
142
await d.file ("test2.scss" , "d {e: f}" ).create ();
143
143
144
144
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.' ) ));
146
146
await sass.shouldExit (0 );
147
147
148
148
await d.file ("out1.css" , "x {y: z}" ).validate ();
0 commit comments