Skip to content

Commit 03ea631

Browse files
authored
Merge pull request #5 from jaypipes/gdt-v1.3.0
bring in gdt-1.3.0
2 parents fbe3694 + c3d469f commit 03ea631

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

assertions.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,6 @@ func (a *assertions) jsonOK() bool {
453453
}
454454
ja := gdtjson.New(exp.JSON, b)
455455
if !ja.OK() {
456-
a.terminal = ja.Terminal()
457456
for _, f := range ja.Failures() {
458457
a.Fail(f)
459458
}

eval.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,11 @@ func (s *Spec) get(
117117
a = s.doGet(ctx, t, c, res, name, s.Namespace())
118118
}
119119
success := a.OK()
120-
term := a.Terminal()
121120
debug.Println(
122-
ctx, t, "%s (try %d after %s) ok: %v, terminal: %v",
123-
s.Title(), attempts, after, success, term,
121+
ctx, t, "%s (try %d after %s) ok: %v",
122+
s.Title(), attempts, after, success,
124123
)
125-
if success || term {
124+
if success {
126125
ticker.Stop()
127126
break
128127
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.19
44

55
require (
66
github.com/cenkalti/backoff/v4 v4.2.1
7-
github.com/gdt-dev/gdt v1.2.1
7+
github.com/gdt-dev/gdt v1.3.0
88
github.com/samber/lo v1.38.1
99
github.com/stretchr/testify v1.8.4
1010
gopkg.in/yaml.v3 v3.0.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7
6565
github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84=
6666
github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww=
6767
github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4=
68-
github.com/gdt-dev/gdt v1.2.1 h1:tNIpBPLatk8Rb0YFSK+FOzKIhHPYgmLpXQL8qottNcI=
69-
github.com/gdt-dev/gdt v1.2.1/go.mod h1:StnyGjC/67u59La2u6fh3HwW9MmodVhKdXcLlkgvNSY=
68+
github.com/gdt-dev/gdt v1.3.0 h1:uUKOdNcXsc399lBQ3ELUarTWqqZBRWhwgXq2J35ocR4=
69+
github.com/gdt-dev/gdt v1.3.0/go.mod h1:StnyGjC/67u59La2u6fh3HwW9MmodVhKdXcLlkgvNSY=
7070
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
7171
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
7272
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=

0 commit comments

Comments
 (0)