- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestExpand (0.11 sec)
-
src/os/env_test.go
{"mixed$|bag$$$", "mixed$|bagPID$"}, {"$", "$"}, {"$}", "$}"}, {"${", ""}, // invalid syntax; eat up the characters {"${}", ""}, // invalid syntax; eat up the characters } func TestExpand(t *testing.T) { for _, test := range expandTests { result := Expand(test.in, testGetenv) if result != test.out { t.Errorf("Expand(%q)=%q; expected %q", test.in, result, test.out) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 04 15:31:54 UTC 2023 - 5K bytes - Viewed (0) -
src/crypto/internal/bigmod/nat_test.go
return false } return got.Equal(natFromBytes(xBytes).ExpandFor(m)) == yes } err := quick.Check(f, &quick.Config{}) if err != nil { t.Error(err) } } func TestExpand(t *testing.T) { sliced := []uint{1, 2, 3, 4} examples := []struct { in []uint n int out []uint }{{ []uint{1, 2}, 4, []uint{1, 2, 0, 0}, }, { sliced[:2], 4,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 12 00:56:20 UTC 2024 - 11.6K bytes - Viewed (0)