From 1f64c315137f2ab218d8ffa32b3dfb12e5623031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20=C5=A0olt=C3=A9s?= Date: Sat, 19 Sep 2026 17:30:51 +0200 Subject: [PATCH] Repair malformed native test delimiters (#696) --- .../tests/native_v8_runtime_animation_cssom_tests.inc | 2 +- .../tests/native_v8_runtime_drag_drop_tests.inc | 2 +- .../tests/native_v8_runtime_resource_tests.inc | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_animation_cssom_tests.inc b/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_animation_cssom_tests.inc index b72d6656..efc07158 100644 --- a/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_animation_cssom_tests.inc +++ b/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_animation_cssom_tests.inc @@ -1634,7 +1634,7 @@ void test_finite_rotation_keyframe_dispatches_animation_end( })() )JS", "step-timing-spinner-metadata.js"); require( - step_metadata == R"(["codicon-spin","1000ms","steps(4, end)","infinite"])" , + step_metadata == R"JSON(["codicon-spin","1000ms","steps(4, end)","infinite"])JSON" , "steps() was mistaken for the animation name: " + step_metadata); const auto step_angle = R"JS( diff --git a/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_drag_drop_tests.inc b/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_drag_drop_tests.inc index a6745e34..40bfaf72 100644 --- a/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_drag_drop_tests.inc +++ b/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_drag_drop_tests.inc @@ -42,7 +42,7 @@ html,body{margin:0} .target{position:absolute;top:8px;width:40px;height:30px} } } state.ready = true; -)HTML"}}; +)HTML"}}}; webscene_engine_options options{}; options.struct_size = sizeof(options); options.resource_load_callback = load_test_resource; diff --git a/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_resource_tests.inc b/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_resource_tests.inc index 68b1e005..3f8dbd28 100644 --- a/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_resource_tests.inc +++ b/experiments/WebScene.NativeEngine.Probe/tests/native_v8_runtime_resource_tests.inc @@ -1847,7 +1847,7 @@ void test_nested_context_menu_handoff() { }); state.ready = true; -)HTML"}}; +)HTML"}}}; webscene_engine_options options{}; options.struct_size = sizeof(options); options.resource_load_callback = load_test_resource; @@ -1998,7 +1998,7 @@ globalThis.__codeAux=event=>{ addEventListener('click',__codeClick); addEventListener('auxclick',__codeAux); state.ready=true; -)HTML"}}; +)HTML"}}}; webscene_engine_options options{}; options.struct_size = sizeof(options); options.resource_load_callback = load_test_resource; @@ -2185,7 +2185,7 @@ addEventListener('keydown',event=>{ }); addEventListener('keyup',event=>parent.__nestedKeyboard.events.push({type:event.type,key:event.key,code:event.code,keyCode:event.keyCode,shiftKey:event.shiftKey,ctrlKey:event.ctrlKey,metaKey:event.metaKey,repeat:event.repeat,isTrusted:event.isTrusted,target:event.target.tagName,prevented:event.defaultPrevented})); parent.__nestedKeyboard.ready=true; -)HTML"}}; +)HTML"}}}; webscene_engine_options options{}; options.struct_size = sizeof(options); options.resource_load_callback = load_test_resource;