Allow unit tests on non-Linux OS

This commit is contained in:
Arthur Barr
2018-01-29 09:35:02 +00:00
parent 238529918c
commit d1852d9af4
3 changed files with 45 additions and 29 deletions

View File

@@ -0,0 +1,9 @@
// +build !linux
package main
// Dummy version of this function, only for non-Linux systems.
// Having this allows unit tests to be run on other platforms (e.g. macOS)
func checkFS(path string) {
return
}