Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGenericTrieBuilding (0.17 sec)

  1. src/strings/replace_test.go

    			t.Errorf("%d. WriteStringError = %d, %v, want 0, unwritable", i, n, err)
    		}
    	}
    }
    
    // TestGenericTrieBuilding verifies the structure of the generated trie. There
    // is one node per line, and the key ending with the current line is in the
    // trie if it ends with a "+".
    func TestGenericTrieBuilding(t *testing.T) {
    	testCases := []struct{ in, out string }{
    		{"abc;abdef;abdefgh;xx;xy;z", `-
    			a-
    			.b-
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 22:53:05 UTC 2017
    - 14.1K bytes
    - Viewed (0)
Back to top