Skip to content

Commit e6f9664

Browse files
committed
Improve test
1 parent 1540b6b commit e6f9664

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎transpiler_test.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ func TestDebugWarn(t *testing.T) {
130130
c := qt.New(t)
131131

132132
args := Args{
133+
URL: "/a/b/c.scss",
133134
Source: `
134135
$color: #333;
135136
body {
@@ -158,7 +159,7 @@ body {
158159

159160
c.Assert(result.CSS, qt.Equals, "body {\n color: #333;\n}")
160161
c.Assert(events, qt.DeepEquals, []LogEvent{
161-
{Type: 2, Message: "stdin:6:1: foo"},
162+
{Type: 2, Message: "/a/b/c.scss:6:1: foo"},
162163
{Type: 0, Message: "bar"},
163164
})
164165
}

0 commit comments

Comments
 (0)