- commit
- 9b32b08154ba723ff956db722d5e25bd04d46f45
- parent
- e2a6d92bbc555453ad10488d5340c9a929624fc8
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-05-03 13:00
rm inline tests
Diffstat
M | static/context.mjs | 10 | ---------- |
1 files changed, 0 insertions, 10 deletions
diff --git a/static/context.mjs b/static/context.mjs
@@ -152,13 +152,3 @@ export var pushChange = function(changes, change) { 152 152 } 153 153 } 154 154 };155 -1156 -1157 -1 var assertEqual = function(a, b, msg) {158 -1 if (JSON.stringify(a) !== JSON.stringify(b)) {159 -1 console.warn('test failed:', msg, a, b);160 -1 }161 -1 };162 -1163 -1 assertEqual(merge([1, 'foobaz', 'foobbaz'], [2, 'oobbaz', 'oobabaz']), [[1, 'foobaz', 'foobabaz']], 'merge insert');164 -1 assertEqual(merge([1, 'foobaz', 'fobaz'], [0, 'Xfobaz', 'Xfbaz']), [[0, 'Xfoobaz', 'Xfbaz']], 'merge delete');