From 2cb8039b21586fe61330a2042b8644c16f60b837 Mon Sep 17 00:00:00 2001 From: Henrik Barthels <25176271+hbarthels@users.noreply.github.com> Date: Mon, 13 Jul 2026 17:23:29 +0200 Subject: [PATCH] Fix hash_test.go to compile with updated NewParser signature NewParser gained an `input string` parameter, but sdks/go/src/hash_test.go was never updated, so `go test ./src/...` failed to compile. The test only exercises relationIdFromString, which does not read input, so pass "". Co-Authored-By: Claude Opus 4.8 --- sdks/go/src/hash_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/go/src/hash_test.go b/sdks/go/src/hash_test.go index 632c886c..d42a7bca 100644 --- a/sdks/go/src/hash_test.go +++ b/sdks/go/src/hash_test.go @@ -5,7 +5,7 @@ import "testing" // TestRelationIdFromString verifies that relation_id_from_string produces // the same id across all SDKs (Julia, Python, Go). func TestRelationIdFromString(t *testing.T) { - p := NewParser([]Token{}) + p := NewParser([]Token{}, "") rid := p.relationIdFromString("my_relation") if rid.IdLow != 0xf2fc83ec57cf8fbc { t.Errorf("id_low: got 0x%016x, want 0xf2fc83ec57cf8fbc", rid.IdLow)