Skip to content

Commit 32e3bf1

Browse files
authored
Improve comment
1 parent 3baad7e commit 32e3bf1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.buildkite/commands/verify-xcframework-test-fails-with-missing-resources.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
set -o pipefail
44

55
echo "--- :pencil2: Breaking bundle resource path to verify test catches failures"
6-
# Replace "Gutenberg" with "folder_that_does_not_exist" in the HTMLPreviewManager
6+
# Replace "Gutenberg" with "folder_that_does_not_exist" in the HTMLPreviewManager to trigger `assert`.
7+
# (`assert` works because we build the XCFramework with -Onone in these tests)
78
sed -i.bak 's/forResource: "Gutenberg", withExtension: nil/forResource: "folder_that_does_not_exist", withExtension: nil/g' ios/Sources/GutenbergKit/Sources/Views/HTMLPreview/HTMLPreviewManager.swift
89

910
echo "--- :package: Rebuilding XCFramework with broken resource path"

0 commit comments

Comments
 (0)