Skip to content

Commit

Permalink
chore: fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
denopink committed Feb 6, 2024
1 parent 376fb56 commit 045879f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrpvalidator/metaValidator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func ExampleMetaValidator() {
}
}

// Output: source errors: validator `source`: Validator error [Source] err=invalid Source name 'external.com': value given doesn't match expected locator pattern: mac|uuid|event|dns|serial
// Output: source errors: validator `source`: Validator error [Source] err=invalid Source name 'external.com': value given doesn't match expected locator pattern: ^(?P<scheme>(?i)mac|uuid|event|dns|serial):(?P<authority>[^/]+)?
}

func TestMetaValidatorUnmarshal(t *testing.T) {
Expand Down

0 comments on commit 045879f

Please sign in to comment.