* Test helper to check if content does NOT contain unexpected string
(content, unexpected, testName)
| 41 | * Test helper to check if content does NOT contain unexpected string |
| 42 | */ |
| 43 | function assertNotContains(content, unexpected, testName) { |
| 44 | if (content.includes(unexpected)) { |
| 45 | console.error(`❌ FAIL: ${testName}`); |
| 46 | console.error(` Expected NOT to find: "${unexpected}"`); |
| 47 | return false; |
| 48 | } |
| 49 | console.log(`✓ PASS: ${testName}`); |
| 50 | return true; |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * Create a test changeset file |