Skip to content

Commit 2c31e1a

Browse files
committed
Make the ProtocolVersion version more lenient
1 parent c58f924 commit 2c31e1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: transpiler_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ func TestVersion(t *testing.T) {
408408
version, err := godartsass.Version(getSassEmbeddedFilename())
409409
c.Assert(err, qt.IsNil)
410410
c.Assert(version, qt.Not(qt.Equals), "")
411-
c.Assert(version.ProtocolVersion, qt.Equals, "2.0.0")
411+
c.Assert(strings.HasPrefix(version.ProtocolVersion, "2."), qt.IsTrue)
412412
}
413413

414414
func newTestTranspiler(c *qt.C, opts godartsass.Options) (*godartsass.Transpiler, func()) {

0 commit comments

Comments
 (0)