diff options
| author | Paul Buetow <paul@buetow.org> | 2025-05-20 09:38:50 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-05-20 09:38:50 +0300 |
| commit | 70d554fb641fbd2b09833316c66468f99e3f41ba (patch) | |
| tree | 2768b5a235791d8009721000289b32a01bd4fd93 /internal/file/file_test.go | |
| parent | f27848b812aecd0bb0aecb100119c0ab71b5fbeb (diff) | |
fix unit tests
Diffstat (limited to 'internal/file/file_test.go')
| -rw-r--r-- | internal/file/file_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/file/file_test.go b/internal/file/file_test.go index a8b6fb2..22610ea 100644 --- a/internal/file/file_test.go +++ b/internal/file/file_test.go @@ -1,6 +1,7 @@ package file import ( + "ior/internal/types" "testing" ) @@ -8,7 +9,7 @@ func TestStringValue(t *testing.T) { var array [128]byte copy(array[:], "test string") - if str := StringValue(array[:]); str != "test string" { + if str := types.StringValue(array[:]); str != "test string" { t.Errorf("epxected 'test string' but got '%s' with bytes '%v'", str, []byte(str)) } } |
