MCPcopy Index your code
hub / github.com/coder/coder / runDiffValuesTests

Function runDiffValuesTests

enterprise/audit/diff_internal_test.go:243–254  ·  view source on GitHub ↗
(t *testing.T, table Table, tests []diffTest)

Source from the content-addressed store, hash-verified

241}
242
243func runDiffValuesTests(t *testing.T, table Table, tests []diffTest) {
244 t.Helper()
245
246 for _, test := range tests {
247 t.Run(test.name, func(t *testing.T) {
248 assert.Equal(t,
249 test.exp,
250 diffValues(test.left, test.right, table),
251 )
252 })
253 }
254}
255
256func Test_diff(t *testing.T) {
257 t.Parallel()

Callers 1

Test_diffValuesFunction · 0.85

Calls 4

diffValuesFunction · 0.85
HelperMethod · 0.65
RunMethod · 0.65
EqualMethod · 0.45

Tested by

no test coverage detected