Skip to content

Commit 5d43974

Browse files
tannevaledclaude
andauthored
Bump ruby/spec FLOOR 16990 -> 17270 (#518)
* Bump ruby/spec FLOOR 16990 -> 17270 Lock in a second cluster of conformance merges: Symbol#inspect quoting, full-Unicode regex POSIX classes (go-regexp/engine v0.1.2), Marshal dump/load, Numeric#step + Enumerator::ArithmeticSequence, and the Time constructor argument forms. Measured total is 17316 passing examples (files loaded 2162, failed 44); the floor is set below that with margin for slower CI hardware. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * Fix a stale Symbol-inspect expectation in the Marshal conformance test The Marshal conformance test's sym_encoded_roundtrip case expected the non-ASCII symbol :€x to inspect as the quoted :"€x", which was rbgo's behaviour when that test was written but not MRI's. It was authored in parallel with the Symbol#inspect fix (#513) that made non-ASCII symbols print bare (:€x, matching MRI 4.0), so once both merged the expectation was stale and failed. Assert the correct MRI output. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 0d3040c commit 5d43974

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎internal/vm/marshal_conformance_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func TestMarshalConformance(t *testing.T) {
1616
`p Marshal.dump(["€a".to_sym, "€b".to_sym]).bytes`,
1717
"[4, 8, 91, 7, 73, 58, 9, 226, 130, 172, 97, 6, 58, 6, 69, 84, 73, 58, 9, 226, 130, 172, 98, 6, 59, 6, 84]\n"},
1818
{"sym_encoded_roundtrip",
19-
`p Marshal.load(Marshal.dump(:€x))`, ":\"€x\"\n"},
19+
`p Marshal.load(Marshal.dump(:€x))`, ":€x\n"},
2020
{"sym_ascii_unwrapped",
2121
`p Marshal.dump(:sym).bytes`, "[4, 8, 58, 8, 115, 121, 109]\n"},
2222
// A non-ASCII ivar name is likewise wrapped on dump and unwrapped on load.

‎scripts/conformance/rubyspec/FLOOR‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16990
1+
17270

0 commit comments

Comments
 (0)