Skip to content

Commit

Permalink
Test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ibiscum committed Feb 13, 2024
1 parent ce0bb4a commit 348bdba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion cmd/Chapter05/Exercise05.04/e05.04_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
package main

import "testing"
import (
"os"
"testing"
)

func TestCsvHdrCol(t *testing.T) {
if os.Getenv("TEST_NO_CI") != "" {
t.Skip("Skipping, not yet prepared for CI")
}

testCases := []struct {
name string
Expand Down
2 changes: 1 addition & 1 deletion cmd/Chapter14/Activity14.01/solution/solution_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
// TestGetDataAndParseResponse requires the server to be running to succeed
func TestGetDataAndParseResponse(t *testing.T) {
if os.Getenv("TEST_NO_CI") != "" {
t.Skip("Skipping not finished test")
t.Skip("Skipping, not yet prepared for CI")
}
electricCount, boogalooCount := getDataAndParseResponse()
if electricCount < 1 {
Expand Down

0 comments on commit 348bdba

Please sign in to comment.