(t *testing.T)
| 113 | } |
| 114 | |
| 115 | func TestBoolean_Alias(t *testing.T) { |
| 116 | reporter := newMockReporter(t) |
| 117 | |
| 118 | value := NewBoolean(reporter, true) |
| 119 | assert.Equal(t, []string{"Boolean()"}, value.chain.context.Path) |
| 120 | assert.Equal(t, []string{"Boolean()"}, value.chain.context.AliasedPath) |
| 121 | |
| 122 | value.Alias("foo") |
| 123 | assert.Equal(t, []string{"Boolean()"}, value.chain.context.Path) |
| 124 | assert.Equal(t, []string{"foo"}, value.chain.context.AliasedPath) |
| 125 | } |
| 126 | |
| 127 | func TestBoolean_Path(t *testing.T) { |
| 128 | reporter := newMockReporter(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…