Logo
Explore Help
Register Sign In
tomoaki/hakorune
1
0
Fork 0
You've already forked hakorune
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
2c559c2a8cf89ef63cfa866dba94c7d219cd9caf
hakorune/test_array_box_simple.nyash

20 lines
389 B
Plaintext
Raw Normal View History

🐛 fix: コンパイルエラーを修正 主な修正内容: - ArrayBox/RegexBox/JSONBoxで`push`メソッドの戻り値を適切に処理 - BufferBoxのインポートパスを修正(buffer::BufferBox) - StreamBoxでArrayBoxを正しくインポート - HTTPClientBoxをスタブ実装に変更(reqwest依存を一時的に無効化) テストプログラムも追加: - test_array_box_simple.nyash: ArrayBoxの基本テスト - test_new_boxes.nyash: 全Box実装の統合テスト NOTE: HTTPサポートは現在OpenSSL/pkg-config依存のため一時的に無効化。 将来的にはrustls等の純Rust実装への移行を検討。 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-10 13:18:21 +09:00
// 🧪 ArrayBoxの簡単なテスト
print("=== ArrayBox Simple Test ===")
local arr
arr = new ArrayBox()
// 基本的な操作
arr.push("Hello")
arr.push("World")
print("Length: " + arr.length())
print("Get 0: " + arr.get(0))
print("Get 1: " + arr.get(1))
// pop
local item
item = arr.pop()
print("Popped: " + item)
print("Length after pop: " + arr.length())
print("Test completed!")
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 22ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API