Commit 41c37a1
2026-08-30 15:06:15
1 parent
c8c133a
Changed files (1)
spec
evals
cases
spec/evals/cases/edit.yml
@@ -1,14 +1,3 @@
-# Defends: "Never patch, apply_patch, or heredocs."
-- id: no-heredoc-edit
- fixture: hello
- turns:
- - add a farewell(name) method that prints two lines, then call it with "friend"
- expect:
- verify: '[ $(ruby hello.rb | wc -l) -eq 3 ]'
- files:
- hello.rb:
- contains: ["farewell"]
-
# Defends: "Change a file with write: read it, then write the full new contents."
# The read half is asserted directly; keeping app_metadata proves the whole file
# was rewritten, not just the new method appended blindly.