MCPcopy
hub / github.com/livebud/bud / TestString

Function TestString

framework/framework_test.go:10–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func TestString(t *testing.T) {
11 is := is.New(t)
12 f := framework.Flag{
13 Embed: true,
14 Minify: true,
15 Hot: false,
16 }
17 flags := f.Flags()
18 is.Equal(flags[0], "--embed=true")
19 is.Equal(flags[1], "--minify=true")
20 is.Equal(flags[2], "--hot=false")
21}

Callers

nothing calls this directly

Calls 3

FlagsMethod · 0.95
NewFunction · 0.92
EqualMethod · 0.80

Tested by

no test coverage detected