Skip to content

Commit 16f0b45

Browse files
committed
fix duplicate
Update service.rs Update pubsub_err_subscriber_different_service.txt
1 parent c017e87 commit 16f0b45

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tsparser/src/parser/resources/apis/service.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub static SERVICE_PARSER: ResourceParser = ResourceParser {
5151
}
5252

5353
// This resource is only allowed to be defined in a module named "encore.service.ts".
54-
// Check that that is the case.
54+
// Check that is the case.
5555
match &pass.module.file_path {
5656
FilePath::Real(buf) if buf.ends_with("encore.service.ts") => {}
5757
_ => {

v2/app/testdata/pubsub_err_subscriber_different_service.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
! parse
2-
err 'The function passed to `pubsub.NewSubscription` must be declared in the the same service as the'
2+
err 'The function passed to `pubsub.NewSubscription` must be declared in the same service as the'
33

44
-- shared/shared.go --
55
package shared

v2/app/testdata/pubsub_err_subscriber_not_function.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
! parse
2-
err 'The function passed to `pubsub.NewSubscription` must be declared in the the same service'
2+
err 'The function passed to `pubsub.NewSubscription` must be declared in the same service'
33

44
-- svc/svc.go --
55
package svc

v2/app/testdata/pubsub_err_subscription_func_not_in_service.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
! parse
2-
err 'The function passed to `pubsub.NewSubscription` must be declared in the the same service as the'
2+
err 'The function passed to `pubsub.NewSubscription` must be declared in the same service as the'
33

44
-- shared/shared.go --
55
package shared

0 commit comments

Comments
 (0)