Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
! parse
err 'The function passed to `pubsub.NewSubscription` must be declared in the the same service as the'
err 'The function passed to `pubsub.NewSubscription` must be declared in the same service as the'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is testing that the parser returns a specific error. You'll need to update the code that returns that error, too, otherwise the test will fail


-- shared/shared.go --
package shared
Expand Down
2 changes: 1 addition & 1 deletion v2/app/testdata/pubsub_err_subscriber_not_function.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
! parse
err 'The function passed to `pubsub.NewSubscription` must be declared in the the same service'
err 'The function passed to `pubsub.NewSubscription` must be declared in the same service'

-- svc/svc.go --
package svc
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
! parse
err 'The function passed to `pubsub.NewSubscription` must be declared in the the same service as the'
err 'The function passed to `pubsub.NewSubscription` must be declared in the same service as the'

-- shared/shared.go --
package shared
Expand Down