Commit 39d60191 authored by Aaron Jacobs's avatar Aaron Jacobs

HelloFSTest.Stat_NonExistent

parent 54b7c34e
......@@ -171,7 +171,10 @@ func (t *HelloFSTest) Stat_World() {
}
func (t *HelloFSTest) Stat_NonExistent() {
AssertTrue(false, "TODO")
_, err := os.Stat(path.Join(t.mfs.Dir(), "foobar"))
AssertNe(nil, err)
ExpectThat(err, Error(HasSubstr("no such file")))
}
func (t *HelloFSTest) Read_Hello() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment