You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/tags/types_explainer_spec.rb
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -251,7 +251,10 @@ def parse_fail(types)
251
251
"#weird_method?, #<=>, #!="=>"an object that responds to #weird_method?;
252
252
an object that responds to #<=>;
253
253
an object that responds to #!=",
254
-
":symbol, 'string'"=>"a literal value :symbol; a literal value 'string'"
254
+
":symbol, 'string'"=>"a literal value :symbol; a literal value 'string'",
255
+
"Hash{:key_one, :key_two => String; :key_three => Symbol}"=>"a Hash with keys made of (a literal value :key_one or a literal value :key_two) and values of (Strings) and keys made of (a literal value :key_three) and values of (Symbols)",
256
+
"Hash{:key_one, :key_two => String; :key_three => Symbol; :key_four => Hash{:sub_key_one => String}}"=>"a Hash with keys made of (a literal value :key_one or a literal value :key_two) and values of (Strings) and keys made of (a literal value :key_three) and values of (Symbols) and keys made of (a literal value :key_four) and values of (a Hash with keys made of (a literal value :sub_key_one) and values of (Strings))",
257
+
"Hash{:key_one => String, Number; :key_two => String}"=>"a Hash with keys made of (a literal value :key_one) and values of (Strings or Numbers) and keys made of (a literal value :key_two) and values of (Strings)"
0 commit comments