MCPcopy
hub / github.com/dnote/dnote / NotEqual

Function NotEqual

pkg/assert/assert.go:80–85  ·  view source on GitHub ↗

NotEqual fails a test if the actual matches the expected

(t *testing.T, a, b interface{}, message string)

Source from the content-addressed store, hash-verified

78
79// NotEqual fails a test if the actual matches the expected
80func NotEqual(t *testing.T, a, b interface{}, message string) {
81 ok, m := checkEqual(a, b, message)
82 if ok {
83 t.Error(m)
84 }
85}
86
87// NotEqualf fails a test if the actual matches the expected
88func NotEqualf(t *testing.T, a, b interface{}, message string) {

Callers 15

TestDirsFunction · 0.92
TestDirsFunction · 0.92
TestInitFunction · 0.92
TestAddNoteFunction · 0.92
TestEditNoteFunction · 0.92
TestRemoveBookFunction · 0.92
TestLocalMigration12Function · 0.92
TestMigrateToV2Function · 0.92
TestMigrateToV3Function · 0.92
TestMigrateToV5Function · 0.92
TestMigrateToV8Function · 0.92
TestViewNoteInvalidRowIDFunction · 0.92

Calls 2

checkEqualFunction · 0.85
ErrorMethod · 0.45

Tested by 15

TestDirsFunction · 0.74
TestDirsFunction · 0.74
TestInitFunction · 0.74
TestAddNoteFunction · 0.74
TestEditNoteFunction · 0.74
TestRemoveBookFunction · 0.74
TestLocalMigration12Function · 0.74
TestMigrateToV2Function · 0.74
TestMigrateToV3Function · 0.74
TestMigrateToV5Function · 0.74
TestMigrateToV8Function · 0.74
TestViewNoteInvalidRowIDFunction · 0.74