From 8796df8218aa306f1431c17233fbcc3e0811cc4e Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Sat, 29 Feb 2020 22:24:20 +0800 Subject: conf: add unit tests (#5954) * conf: add tests for utils.go * conf: add tests for static.go * mock os/exec * Run tests on Windows * appveyor: fix gcc not found * computed: add unit tests * log: add unit tests * log: fix tests on Windows * conf: add some tests * Finish adding tests * Cover more cases * Add tests for testutil * Add more tests --- internal/testutil/testdata/golden | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 internal/testutil/testdata/golden (limited to 'internal/testutil/testdata') diff --git a/internal/testutil/testdata/golden b/internal/testutil/testdata/golden new file mode 100644 index 00000000..b0336818 --- /dev/null +++ b/internal/testutil/testdata/golden @@ -0,0 +1,3 @@ +{ + "Message": "This is a golden file." +} \ No newline at end of file -- cgit v1.2.3