Skip to content

Commit ec75e59

Browse files
hgiasacCopilot
andauthored
Update ndc-http-schema/configuration/validate_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6695d3d commit ec75e59

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ndc-http-schema/configuration/validate_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ func TestConfigValidator(t *testing.T) {
3535
for _, tc := range testCases {
3636
t.Run(tc.Dir, func(t *testing.T) {
3737
connectorDir := filepath.Join(absDir, tc.Dir, "connector", "http")
38-
expectedBytes, err := os.ReadFile(filepath.Join(tc.Dir, "expected.tpl"))
38+
expectedBytes, expectedErr := os.ReadFile(filepath.Join(tc.Dir, "expected.tpl"))
39+
assert.NilError(t, expectedErr)
3940
config, schemas, mergedSchema, err := UpdateHTTPConfiguration(
4041
connectorDir,
4142
slog.Default(),

0 commit comments

Comments
 (0)