]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1000: tests: ruby tests fail with Ruby 3.4 v9.1.1000
authorYee Cheng Chin <ychin.git@gmail.com>
Thu, 9 Jan 2025 21:23:29 +0000 (22:23 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 9 Jan 2025 21:23:29 +0000 (22:23 +0100)
commitebea31e454b9a1731cde845226f2c28ca5c097b1
treeea538e716603aa94071684ff04de0829b3acfc77
parent2051af1642843426714efc2572c3e270fe0948be
patch 9.1.1000: tests: ruby tests fail with Ruby 3.4

Problem:  tests: ruby tests fail with Ruby 3.4
Solution: adjust expected output for Ruby 3.4
          (Yee Cheng Chin)

Vim's Ruby tests relied on explicit matching of output texts which are
fragile in design. Ruby 3.4 has changed the output slightly (using
'name' instead of `name', and also using more spaces in dictionary
printouts). Modify the Vim tests to be less fragile to such changes.

closes: #16411

Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_ruby.vim
src/version.c