File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ func TestInit(t *testing.T) {
2626 "basic files without aliases" : {
2727 files : map [string ]string {
2828 "test-one.md" : "# Test 1\n Some content" ,
29- "test 2.md" : "# Test 2\n More content" ,
29+ "2.md" : "# Test 2\n More content" ,
3030 },
3131 wantErr : false ,
3232 checkFn : func (t * testing.T , tr * trie.Trie ) {
@@ -35,9 +35,9 @@ func TestInit(t *testing.T) {
3535 t .Errorf ("Expected to find test-one.md in trie, got %v" , results )
3636 }
3737
38- results = tr .Search ("test 2" )
39- if ! slices .Contains (results , "test 2.md" ) {
40- t .Errorf ("Expected to find \" test 2.md\" in trie, got %v" , results )
38+ results = tr .Search ("2" )
39+ if ! slices .Contains (results , "2.md" ) {
40+ t .Errorf ("Expected to find \" 2.md\" in trie, got %v" , results )
4141 }
4242 },
4343 },
You can’t perform that action at this time.
0 commit comments