Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mgencur committed Sep 20, 2023
1 parent 9d68e84 commit dc10369
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/rekt/resources/delivery/delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
{{ if .delivery.deadLetterSink.ref }}
ref:
kind: {{ .delivery.deadLetterSink.ref.kind }}
{{ if .delivery.deadLetterSink.ref.namespace } }
{{ if .delivery.deadLetterSink.ref.namespace }}
namespace: {{ .delivery.deadLetterSink.ref.namespace }}
{{ else }}
namespace: {{ .namespace }}
Expand Down
4 changes: 2 additions & 2 deletions test/rekt/resources/pingsource/pingsource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func Example_full() {
// sink:
// ref:
// kind: sinkkind
// namespace: bar
// namespace: sinknamespace
// name: sinkname
// apiVersion: sinkversion
// uri: uri/parts
Expand Down Expand Up @@ -139,7 +139,7 @@ func Example_fullbase64() {
// sink:
// ref:
// kind: sinkkind
// namespace: bar
// namespace: sinknamespace
// name: sinkname
// apiVersion: sinkversion
// uri: uri/parts
Expand Down

0 comments on commit dc10369

Please sign in to comment.