mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Fixup test
This commit is contained in:
parent
917d32f8a5
commit
1a3e891dfd
@ -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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user