From 6babadd8f16a570aa9a4aa05d0bc365c04baeafe Mon Sep 17 00:00:00 2001 From: Jacob McKenzie Date: Tue, 3 Sep 2024 10:46:09 -0600 Subject: [PATCH] Make the module importable --- go.mod | 2 +- main_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index e398cdc..06d39a9 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module calc-lib +module github.com/JacobMcKenzieSmarty/calc-lib go 1.23.0 diff --git a/main_test.go b/main_test.go index 8ece6d0..334d339 100644 --- a/main_test.go +++ b/main_test.go @@ -20,7 +20,7 @@ func assertEqual(t *testing.T, expected, actual any) { func assertError(t *testing.T, expected, actual error) { if !errors.Is(expected, actual) { t.Helper() //don't pay attention to this as part of the call stack. - t.Errorf("expected %v, got %v", expected, actual) + t.Errorf("Expected %v, got %v", expected, actual) } }