Commit ba8ebc7a authored by Aaron Jacobs's avatar Aaron Jacobs

HelloFSTest.ReadFile_World

parent fe2f8723
......@@ -189,7 +189,10 @@ func (t *HelloFSTest) ReadFile_Dir() {
}
func (t *HelloFSTest) ReadFile_World() {
AssertTrue(false, "TODO")
slice, err := ioutil.ReadFile(path.Join(t.mfs.Dir(), "dir/world"))
AssertEq(nil, err)
ExpectEq("Hello, world!", string(slice))
}
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