first commit
CI / Build (clang, clang++, ubuntu-22.04, linux, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Build (clang, clang++, windows-2022, windows, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Release (push) Canceled after 0s

This commit is contained in:
2026-09-13 22:18:11 +01:00
commit 08c03ac533
6701 changed files with 1577314 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
##
# NameError ISO Test
assert('NameError', '15.2.31') do
assert_equal Class, NameError.class
end
assert('NameError#name', '15.2.31.2.1') do
# This check is not duplicate with 15.2.31.2.2 check.
# Because the NameError in this test is generated in
# C API.
class TestDummy
alias foo bar
rescue NameError => e
$test_dummy_result = e.name
end
assert_equal :bar, $test_dummy_result
end
assert('NameError#initialize', '15.2.31.2.2') do
e = NameError.new('a', :foo)
assert_equal NameError, e.class
assert_equal 'a', e.message
assert_equal :foo, e.name
end