test(integration): initial version of integration tests manager
This commit is contained in:
parent
913ac3131c
commit
298360fff1
7 changed files with 575 additions and 2 deletions
|
|
@ -93,6 +93,15 @@ func TestWarning(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestError(t *testing.T) {
|
||||
msg := "Error message"
|
||||
wantN := 30
|
||||
gotN := Error(msg)
|
||||
if gotN != wantN {
|
||||
t.Errorf("Error() = %v, want %v", gotN, wantN)
|
||||
}
|
||||
}
|
||||
|
||||
func TestFatalf(t *testing.T) {
|
||||
msg := "Error message"
|
||||
want := "\033[1;31m ✗ Error: \033[0mError message\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue