Skip to content

Commit

Permalink
Make the ProtocolVersion version more lenient
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jul 11, 2024
1 parent c58f924 commit 2c31e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transpiler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ func TestVersion(t *testing.T) {
version, err := godartsass.Version(getSassEmbeddedFilename())
c.Assert(err, qt.IsNil)
c.Assert(version, qt.Not(qt.Equals), "")
c.Assert(version.ProtocolVersion, qt.Equals, "2.0.0")
c.Assert(strings.HasPrefix(version.ProtocolVersion, "2."), qt.IsTrue)
}

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

0 comments on commit 2c31e1a

Please sign in to comment.