mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-30 00:46:29 +01:00
3 lines
112 B
JavaScript
3 lines
112 B
JavaScript
|
export function equal(a, b, message) {
|
||
|
if (a != b) throw new Error(message || `Expected ${a} to equal ${b}`);
|
||
|
}
|