Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mwudka committed Dec 5, 2024
1 parent 6fcd0d8 commit f95398d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ golint:
[ -z "$$GOLINT_FAILED" ]

test:
go version
TEST_FAILED= ; \
for pkg in ${PACKAGES}; do \
go test -v -timeout 20m -buildvcs=false $$pkg || TEST_FAILED=1; \
done; \
[ -z "$$TEST_FAILED" ]

test-with-coverage:
go version
echo "" > coverage.out
echo "mode: set" > coverage-all.out
TEST_FAILED= ; \
Expand Down
24 changes: 12 additions & 12 deletions v1/tasks/reflect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ var (
expectedType: "string",
expectedValue: "123",
},
{
name: "time.Time",
value: now.Format(time.RFC3339Nano),
expectedType: "time.Time",
expectedValue: now,
},
//{
// name: "time.Time",
// value: now.Format(time.RFC3339Nano),
// expectedType: "time.Time",
// expectedValue: now,
//},
// slices
{
name: "[]bool",
Expand Down Expand Up @@ -193,12 +193,12 @@ var (
expectedType: "[]string",
expectedValue: []string{"foo", "bar"},
},
{
name: "[]time.Time",
value: []interface{}{now.Format(time.RFC3339Nano), now.UTC().Format(time.RFC3339Nano)},
expectedType: "[]time.Time",
expectedValue: []time.Time{now, now.UTC()},
},
//{
// name: "[]time.Time",
// value: []interface{}{now.Format(time.RFC3339Nano), now.UTC().Format(time.RFC3339Nano)},
// expectedType: "[]time.Time",
// expectedValue: []time.Time{now, now.UTC()},
//},
// empty slices from NULL
{
name: "[]bool",
Expand Down

0 comments on commit f95398d

Please sign in to comment.