MCPcopy Create free account
hub / github.com/devspace-sh/devspace / TestString

Function TestString

pkg/util/ptr/ptr_test.go:9–12  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestString(t *testing.T) {
10 strPointer := String("hello")
11 assert.Equal(t, *strPointer, "hello", "Returned string pointer points wrong")
12}
13
14func TestReverseString(t *testing.T) {
15 str := "hello"

Callers

nothing calls this directly

Calls 2

EqualMethod · 0.80
StringFunction · 0.70

Tested by

no test coverage detected