( actual: HoleFact, expected: HoleFact, label: string = unnamed )
| 1345 | } |
| 1346 | |
| 1347 | export const checkFacts = ( |
| 1348 | actual: HoleFact, |
| 1349 | expected: HoleFact, |
| 1350 | label: string = unnamed |
| 1351 | ): void => { |
| 1352 | if (actual !== expected) { |
| 1353 | throwError( |
| 1354 | writeCreationMismatchMessage( |
| 1355 | label, |
| 1356 | describeFact(actual), |
| 1357 | describeFact(expected) |
| 1358 | ) |
| 1359 | ) |
| 1360 | } |
| 1361 | } |
| 1362 | |
| 1363 | // a function's fact alone, its arity, so a program whose holes are functions |
| 1364 | // ships nothing of what tells a class or a symbol from the one a build read |
no test coverage detected