Skip to content

Commit 77d0e8a

Browse files
Fix manual test for encoder missing
1 parent 54d6018 commit 77d0e8a

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

src/test/scala/com/hivemind/llmsdsl/OpaqueValidatorErgonomicsSpec.scala

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -76,23 +76,9 @@ class OpaqueValidatorErgonomicsSpec extends AnyFlatSpec with Matchers {
7676
}
7777

7878
"Error message quality" should "be tested manually by uncommenting the following" in {
79-
// Uncomment these lines one at a time to test error messages:
80-
81-
// Test 1: Missing validator
82-
// given testEncoder: Template = Template.from(_.value)
83-
// val testNoValidator = TestType("test")
84-
// val prompt1 = prompt"${testNoValidator}"
85-
86-
// Test 2: Missing encoder but validator available
87-
// given testValidator: Validate = Validate.accept
79+
// Missing encoder (template for TestType)
8880
// val testNoEncoder = TestType("test")
89-
// val prompt2 = prompt"${testNoEncoder}"
90-
91-
// Test 3: Complex type without validator
92-
// case class ComplexType(a: String, b: Int, c: List[Double])
93-
// given complexEncoder: Template[ComplexType] = Template.from(_.toString)
94-
// val complex = ComplexType("test", 1, List(1.0, 2.0))
95-
// val prompt3 = prompt"${complex}"
81+
// val prompt2 = prompt"${testNoEncoder}"
9682

9783
succeed // This test always passes - it's for manual error checking
9884
}

0 commit comments

Comments
 (0)