Skip to content

Commit d2a7c49

Browse files
jsonResult.Raw instead of jsonResult.Str (#550)
1 parent 0ca3730 commit d2a7c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/must/must.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func MatchFederationRequest(t *testing.T, fedReq *gomatrixserverlib.FederationRe
136136
func MatchGJSON(t *testing.T, jsonResult gjson.Result, matchers ...match.JSON) {
137137
t.Helper()
138138

139-
MatchJSON(t, jsonResult.Str, matchers...)
139+
MatchJSON(t, jsonResult.Raw, matchers...)
140140
}
141141

142142
// MatchJSON performs JSON assertions on a raw JSON string.

0 commit comments

Comments
 (0)