Skip to content

Commit

Permalink
Improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Mar 17, 2022
1 parent 1540b6b commit e6f9664
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion transpiler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func TestDebugWarn(t *testing.T) {
c := qt.New(t)

args := Args{
URL: "/a/b/c.scss",
Source: `
$color: #333;
body {
Expand Down Expand Up @@ -158,7 +159,7 @@ body {

c.Assert(result.CSS, qt.Equals, "body {\n color: #333;\n}")
c.Assert(events, qt.DeepEquals, []LogEvent{
{Type: 2, Message: "stdin:6:1: foo"},
{Type: 2, Message: "/a/b/c.scss:6:1: foo"},
{Type: 0, Message: "bar"},
})
}
Expand Down

0 comments on commit e6f9664

Please sign in to comment.