1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Fixup test

This commit is contained in:
Daniel Heath 2018-01-31 21:44:15 +11:00
parent 917d32f8a5
commit 1a3e891dfd

View File

@ -63,7 +63,7 @@ func TestGeneral(t *testing.T) {
children := p.ChildPageNames() children := p.ChildPageNames()
if len(children) != 1 { if len(children) != 1 {
t.Errorf("Expected 1 child page to be found by '%s', got %d", encodeToBase32FileGlob(p.Name+": ")+"*", len(children)) t.Errorf("Expected 1 child page to be found, got %d", len(children))
return return
} }
if children[0] != "testpage: childpage" { if children[0] != "testpage: childpage" {