Further documentation updates.

This commit is contained in:
Spencer Brower
2018-06-24 16:38:52 -04:00
parent 206b94dcac
commit a0d6686cbc
5 changed files with 23 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ func TestClose(t *testing.T) {
if testing.Short() {
t.Skip("Skipping \"TestClose\"")
}
err := Close(2)
err := Close(DoNotSaveChanges)
if err != nil {
t.Fatal(err)
}
@@ -65,7 +65,7 @@ func TestQuit(t *testing.T) {
t.Skip("Skipping \"TestQuit\"")
}
Init()
err := Quit(2)
err := Quit(DoNotSaveChanges)
if err != nil {
t.Fatal(err)
}
@@ -95,7 +95,7 @@ func TestRun(t *testing.T) {
t.Fatal(err)
}
if string(msg) != string(out) {
fail := fmt.Sprintf("TestRun faild.\ngot:\n\"%s\"\nwant:\n\"%s\"\n", msg, out)
fail := fmt.Sprintf("TestRun failed.\ngot:\n\"%s\"\nwant:\n\"%s\"\n", msg, out)
t.Fatal(fail)
}
}