making test fail on purpose to see travis buddy
parent
417feb6f1f
commit
3b0ae8371d
|
@ -34,7 +34,7 @@ func TestIsValidEnv(t *testing.T) {
|
|||
for _, tc := range testCases {
|
||||
t.Run(tc.env, func(t *testing.T) {
|
||||
got := isValidEnv(tc.env)
|
||||
if got != tc.want {
|
||||
if got == tc.want { // Making it fail just to see travisbuddy work
|
||||
t.Errorf("isValidEnv(\"%v\") got %v; want %v", tc.env, got, tc.want)
|
||||
}
|
||||
|
||||
|
|
|
@ -343,7 +343,7 @@ func TestOptionallyHttpsFormattedUrlString(t *testing.T) {
|
|||
t.Errorf("\nhttpsFormattedURLString, Expected %v \nActual: %v \n\n", test.expectedHTTPSFormattedURLString, httpsFormattedURLString)
|
||||
}
|
||||
|
||||
if isHTTPSchemedURL != test.expectedIsHTTPSchemedURL {
|
||||
if isHTTPSchemedURL == test.expectedIsHTTPSchemedURL {
|
||||
t.Errorf("\nisHTTPSchemedURL, Expected %v \nActual: %v \n\n",
|
||||
test.expectedHTTPSFormattedURLString, httpsFormattedURLString)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue