From cf7c9418bc03811ff7be18681423b6d7170924e1 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Wed, 14 Dec 2022 09:50:51 -0800 Subject: [PATCH] initial commits --- regularfile_test.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/regularfile_test.go b/regularfile_test.go index 591c641..4072956 100644 --- a/regularfile_test.go +++ b/regularfile_test.go @@ -249,5 +249,17 @@ func TestRegularFile(t *testing.T) { continue } } + + { + var expected string = test.FileContent + var actual string = fileinfo.Sys().(string) + + if expected != actual { + t.Errorf("For test #%d, the actual value for sys was not what was expected.", testNumber) + t.Logf("EXPECTED SYS: %q", expected) + t.Logf("ACTUAL SYS: %q", actual) + continue + } + } } }