git.iko.soy/rowtype-yoga/purescript-yoga-http-api
on feat/custom-type-errors help sign in
test: Update compile-fail tests to expect custom error messages

Update EXPECT comments to match our new custom error messages: - InvalidStatusCodeLabel: now expects "Unknown status code" - InvalidResponseRecordStructure: now expects "Invalid response record structure" All 8 compile-fail tests pass, verifying the custom errors work correctly.

commit3c2045c3d23891bdea9bcaf1493b9f0c70f46392 authorMark <mark.eibes@gmail.com> dateFri 6 Feb 2026, 22:23 (8 months ago) parent794cf3b
2 files changed+2−2
test-compile-fail/cases/InvalidResponseRecordStructure.purs+1−1 test-compile-fail/cases/InvalidStatusCodeLabel.purs+1−1
test-compile-fail/cases/InvalidResponseRecordStructure.purs+1−1
@@ -1,4 +1,4 @@
1−-- EXPECT: No type class instance was found
1+-- EXPECT: Invalid response record structure
22module Test.CompileFail.InvalidResponseRecordStructure where
33
44import Prelude
test-compile-fail/cases/InvalidStatusCodeLabel.purs+1−1
@@ -1,4 +1,4 @@
1−-- EXPECT: StatusCodeMap
1+-- EXPECT: Unknown status code
22module Test.CompileFail.InvalidStatusCodeLabel where
33
44import Type.Proxy (Proxy(..))