Phase 8.8: Pack transparency system completed - All requirements implemented and tested
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
20
test_pack_transparency_errors.nyash
Normal file
20
test_pack_transparency_errors.nyash
Normal file
@ -0,0 +1,20 @@
|
||||
# 🔥 Phase 8.8: pack透明化システム エラーケーステスト
|
||||
# 適切なエラーメッセージとpackの隠蔽確認
|
||||
|
||||
print("=== pack透明化システム エラーケーステスト開始 ===")
|
||||
|
||||
# テスト1: 引数不一致エラー
|
||||
box BadStringBox from StringBox {
|
||||
init { prefix }
|
||||
|
||||
birth(content, extra) {
|
||||
# StringBoxは1引数だが2つ渡すとエラー
|
||||
from StringBox(content, extra)
|
||||
me.prefix = "test"
|
||||
}
|
||||
}
|
||||
|
||||
print("エラーテスト1: 引数不一致")
|
||||
local bad = new BadStringBox("hello", "extra")
|
||||
|
||||
print("=== pack透明化システム エラーケーステスト完了 ===")
|
||||
Reference in New Issue
Block a user