Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestExecute (0.14 sec)

  1. src/html/template/exec_test.go

    			}
    		}
    		result := b.String()
    		if result != test.output {
    			t.Errorf("%s: expected\n\t%q\ngot\n\t%q", test.name, test.output, result)
    		}
    	}
    }
    
    func TestExecute(t *testing.T) {
    	testExecute(execTests, nil, t)
    }
    
    var delimPairs = []string{
    	"", "", // default
    	"{{", "}}", // same as default
    	"|", "|", // same
    	"(日)", "(本)", // peculiar
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. src/text/template/exec_test.go

    			}
    		}
    		result := b.String()
    		if result != test.output {
    			t.Errorf("%s: expected\n\t%q\ngot\n\t%q", test.name, test.output, result)
    		}
    	}
    }
    
    func TestExecute(t *testing.T) {
    	testExecute(execTests, nil, t)
    }
    
    var delimPairs = []string{
    	"", "", // default
    	"{{", "}}", // same as default
    	"<<", ">>", // distinct
    	"|", "|", // same
    	"(日)", "(本)", // peculiar
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top