Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestIsLang (0.12 sec)

  1. src/internal/gover/gover_test.go

    var langTests = []testCase1[string, string]{
    	{"1.2rc3", "1.2"},
    	{"1.2.3", "1.2"},
    	{"1.2", "1.2"},
    	{"1", "1"},
    	{"1.999testmod", "1.999"},
    }
    
    func TestIsLang(t *testing.T) { test1(t, isLangTests, "IsLang", IsLang) }
    
    var isLangTests = []testCase1[string, bool]{
    	{"1.2rc3", false},
    	{"1.2.3", false},
    	{"1.999testmod", false},
    	{"1.22", true},
    	{"1.21", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/gover/gover_test.go

    var langTests = []testCase1[string, string]{
    	{"1.2rc3", "1.2"},
    	{"1.2.3", "1.2"},
    	{"1.2", "1.2"},
    	{"1", "1"},
    	{"1.999testmod", "1.999"},
    }
    
    func TestIsLang(t *testing.T) { test1(t, isLangTests, "IsLang", IsLang) }
    
    var isLangTests = []testCase1[string, bool]{
    	{"1.2rc3", false},
    	{"1.2.3", false},
    	{"1.999testmod", false},
    	{"1.22", true},
    	{"1.21", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top