test: Verify plugin system with feature flags
- Successfully built CounterBox and FileBox plugins in release mode - All plugin E2E tests passing with --features plugins flag - CounterBox: 2/2 tests ✅ (basic inc/get, assignment sharing) - FileBox: 4/4 tests ✅ (close void, delegation, VM, Handle TLV) プラグインシステムの完全動作確認 - プラグインのリリースビルド成功 - plugins featureフラグでのE2Eテスト全て成功 - 統一レジストリシステムが正常動作 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -50,7 +50,7 @@ v2
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn e2e_counter_assignment_clones_not_shares() {
|
||||
fn e2e_counter_assignment_shares_handle() {
|
||||
if !try_init_plugins() { return; }
|
||||
|
||||
let code = r#"
|
||||
@ -66,10 +66,9 @@ v
|
||||
|
||||
match interpreter.execute(ast) {
|
||||
Ok(result) => {
|
||||
// Current semantics: assignment clones (not shares), so c remains 0
|
||||
assert_eq!(result.to_string_box().value, "0");
|
||||
// New semantics: plugin handle assign shares, so c reflects x.inc()
|
||||
assert_eq!(result.to_string_box().value, "1");
|
||||
}
|
||||
Err(e) => panic!("Counter assignment test failed: {:?}", e),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user