From 20f36c8f6f98478dd86ddfe93da2803de2518ea2 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 9 Jan 2023 00:57:36 +0200 Subject: [PATCH] ; ruby.rb: Fix pattern matching syntax and extend the example --- test/lisp/progmodes/ruby-mode-resources/ruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/progmodes/ruby-mode-resources/ruby.rb b/test/lisp/progmodes/ruby-mode-resources/ruby.rb index bfae948b259..3f0dfdf68ba 100644 --- a/test/lisp/progmodes/ruby-mode-resources/ruby.rb +++ b/test/lisp/progmodes/ruby-mode-resources/ruby.rb @@ -513,7 +513,7 @@ foo bar, { case translation in ['th', orig_text, 'en', trans_text] puts "English translation: #{orig_text} => #{trans_text}" -in {'th' => orig_text, 'ja' => trans_text} +in {th: orig_text, ja: trans_text} => whole puts "Japanese translation: #{orig_text} => #{trans_text}" end -- 2.39.2