From ffaf1faac9bf5fa70a1b58560456acd972d7c1eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 28 Sep 2024 12:20:49 +0200 Subject: [PATCH] Upgrade to v3 of the protocol Closes #28 --- .github/workflows/test.yml | 2 +- transpiler_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca09d75..ba53ac8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: pull_request: name: Test env: - SASS_VERSION: 1.63.2 + SASS_VERSION: 1.80.5 jobs: test: strategy: diff --git a/transpiler_test.go b/transpiler_test.go index e0e1c9c..2dc8a70 100644 --- a/transpiler_test.go +++ b/transpiler_test.go @@ -413,7 +413,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(strings.HasPrefix(version.ProtocolVersion, "2."), qt.IsTrue) + c.Assert(strings.HasPrefix(version.ProtocolVersion, "3."), qt.IsTrue, qt.Commentf("got: %q", version.ProtocolVersion)) } func newTestTranspiler(c *qt.C, opts godartsass.Options) (*godartsass.Transpiler, func()) {