[MINOR] Fix out-of-default-directory build
### What changes were proposed in this pull request?
Fixing a test assertion to deal with out of source tree builds.
### Why are the changes needed?
Release and CI
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Existing tests
Closes #146 from grundprinzip/rc-build-2.
Authored-by: Martin Grund <martin.grund@databricks.com>
Signed-off-by: Martin Grund <martin.grund@databricks.com>
diff --git a/spark/sparkerrors/errors_test.go b/spark/sparkerrors/errors_test.go
index 0e867aa..f519cc4 100644
--- a/spark/sparkerrors/errors_test.go
+++ b/spark/sparkerrors/errors_test.go
@@ -54,7 +54,7 @@
err := WithType(assert.AnError, ConnectionError)
errorString := fmt.Sprintf("%+v", err)
t.Log(errorString)
- assert.Contains(t, errorString, "spark-connect-go/spark/sparkerrors/errors_test.go")
+ assert.Contains(t, errorString, "spark/sparkerrors/errors_test.go")
}
func TestErrorDetailsExtractionFromGRPCStatus(t *testing.T) {