Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.

Commit dedda13

Browse files
committed
Fix existing XML codec test to use Java-encoded strings
The test fed plain text, but .visustruct/.strk store text as semicolon-separated code points, so it decoded to empty strings. It had never run before CI existed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cp4EQgFQyGbM8MVLiWbJKQ
1 parent 3f5c636 commit dedda13

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎VisuStruct-iOS/VisuStructCore/Tests/VisuStructCoreTests/VisuStructXMLCodecTests.swift‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ import XCTest
22
import VisuStructCore
33

44
final class VisuStructXMLCodecTests: XCTestCase {
5+
/// Texte stehen wie im Java-Editor als `;`-getrennte Unicode-Codepoints im XML.
56
func testDecodesLegacyStruktogrammeditorXML() throws {
67
let xml = """
78
<?xml version="1.0" encoding="UTF-8"?>
8-
<struktogramm caption="Beispiel">
9+
<struktogramm caption="66;101;105;115;112;105;101;108;">
910
<strelem typ="0" zx="0" zy="0">
10-
<text>x = 1</text>
11+
<text>120;32;61;32;49;</text>
1112
</strelem>
1213
</struktogramm>
1314
"""

0 commit comments

Comments
 (0)