diff options
Diffstat (limited to 'tests/data/fixtures/combining')
26 files changed, 793 insertions, 0 deletions
diff --git a/tests/data/fixtures/combining/1.json b/tests/data/fixtures/combining/1.json new file mode 100644 index 0000000..14dbc43 --- /dev/null +++ b/tests/data/fixtures/combining/1.json @@ -0,0 +1,12 @@ +{ + "contents": "a", + "cells": { + "0,0": { + "contents": "a" + } + }, + "cursor_position": [ + 0, + 1 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/1.typescript b/tests/data/fixtures/combining/1.typescript new file mode 100644 index 0000000..2e65efe --- /dev/null +++ b/tests/data/fixtures/combining/1.typescript @@ -0,0 +1 @@ +a
\ No newline at end of file diff --git a/tests/data/fixtures/combining/10.json b/tests/data/fixtures/combining/10.json new file mode 100644 index 0000000..b8306c7 --- /dev/null +++ b/tests/data/fixtures/combining/10.json @@ -0,0 +1,249 @@ +{ + "contents": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "cells": { + "0,0": { + "contents": "a" + }, + "0,1": { + "contents": "a" + }, + "0,10": { + "contents": "a" + }, + "0,11": { + "contents": "a" + }, + "0,12": { + "contents": "a" + }, + "0,13": { + "contents": "a" + }, + "0,14": { + "contents": "a" + }, + "0,15": { + "contents": "a" + }, + "0,16": { + "contents": "a" + }, + "0,17": { + "contents": "a" + }, + "0,18": { + "contents": "a" + }, + "0,19": { + "contents": "a" + }, + "0,2": { + "contents": "a" + }, + "0,20": { + "contents": "a" + }, + "0,21": { + "contents": "a" + }, + "0,22": { + "contents": "a" + }, + "0,23": { + "contents": "a" + }, + "0,24": { + "contents": "a" + }, + "0,25": { + "contents": "a" + }, + "0,26": { + "contents": "a" + }, + "0,27": { + "contents": "a" + }, + "0,28": { + "contents": "a" + }, + "0,29": { + "contents": "a" + }, + "0,3": { + "contents": "a" + }, + "0,30": { + "contents": "a" + }, + "0,31": { + "contents": "a" + }, + "0,32": { + "contents": "a" + }, + "0,33": { + "contents": "a" + }, + "0,34": { + "contents": "a" + }, + "0,35": { + "contents": "a" + }, + "0,36": { + "contents": "a" + }, + "0,37": { + "contents": "a" + }, + "0,38": { + "contents": "a" + }, + "0,39": { + "contents": "a" + }, + "0,4": { + "contents": "a" + }, + "0,40": { + "contents": "a" + }, + "0,41": { + "contents": "a" + }, + "0,42": { + "contents": "a" + }, + "0,43": { + "contents": "a" + }, + "0,44": { + "contents": "a" + }, + "0,45": { + "contents": "a" + }, + "0,46": { + "contents": "a" + }, + "0,47": { + "contents": "a" + }, + "0,48": { + "contents": "a" + }, + "0,49": { + "contents": "a" + }, + "0,5": { + "contents": "a" + }, + "0,50": { + "contents": "a" + }, + "0,51": { + "contents": "a" + }, + "0,52": { + "contents": "a" + }, + "0,53": { + "contents": "a" + }, + "0,54": { + "contents": "a" + }, + "0,55": { + "contents": "a" + }, + "0,56": { + "contents": "a" + }, + "0,57": { + "contents": "a" + }, + "0,58": { + "contents": "a" + }, + "0,59": { + "contents": "a" + }, + "0,6": { + "contents": "a" + }, + "0,60": { + "contents": "a" + }, + "0,61": { + "contents": "a" + }, + "0,62": { + "contents": "a" + }, + "0,63": { + "contents": "a" + }, + "0,64": { + "contents": "a" + }, + "0,65": { + "contents": "a" + }, + "0,66": { + "contents": "a" + }, + "0,67": { + "contents": "a" + }, + "0,68": { + "contents": "a" + }, + "0,69": { + "contents": "a" + }, + "0,7": { + "contents": "a" + }, + "0,70": { + "contents": "a" + }, + "0,71": { + "contents": "a" + }, + "0,72": { + "contents": "a" + }, + "0,73": { + "contents": "a" + }, + "0,74": { + "contents": "a" + }, + "0,75": { + "contents": "a" + }, + "0,76": { + "contents": "a" + }, + "0,77": { + "contents": "a" + }, + "0,78": { + "contents": "a" + }, + "0,79": { + "contents": "a" + }, + "0,8": { + "contents": "a" + }, + "0,9": { + "contents": "a" + } + }, + "cursor_position": [ + 0, + 80 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/10.typescript b/tests/data/fixtures/combining/10.typescript new file mode 100644 index 0000000..d22b9d6 --- /dev/null +++ b/tests/data/fixtures/combining/10.typescript @@ -0,0 +1 @@ +caaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
\ No newline at end of file diff --git a/tests/data/fixtures/combining/11.json b/tests/data/fixtures/combining/11.json new file mode 100644 index 0000000..e973c78 --- /dev/null +++ b/tests/data/fixtures/combining/11.json @@ -0,0 +1,249 @@ +{ + "contents": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaá", + "cells": { + "0,0": { + "contents": "a" + }, + "0,1": { + "contents": "a" + }, + "0,10": { + "contents": "a" + }, + "0,11": { + "contents": "a" + }, + "0,12": { + "contents": "a" + }, + "0,13": { + "contents": "a" + }, + "0,14": { + "contents": "a" + }, + "0,15": { + "contents": "a" + }, + "0,16": { + "contents": "a" + }, + "0,17": { + "contents": "a" + }, + "0,18": { + "contents": "a" + }, + "0,19": { + "contents": "a" + }, + "0,2": { + "contents": "a" + }, + "0,20": { + "contents": "a" + }, + "0,21": { + "contents": "a" + }, + "0,22": { + "contents": "a" + }, + "0,23": { + "contents": "a" + }, + "0,24": { + "contents": "a" + }, + "0,25": { + "contents": "a" + }, + "0,26": { + "contents": "a" + }, + "0,27": { + "contents": "a" + }, + "0,28": { + "contents": "a" + }, + "0,29": { + "contents": "a" + }, + "0,3": { + "contents": "a" + }, + "0,30": { + "contents": "a" + }, + "0,31": { + "contents": "a" + }, + "0,32": { + "contents": "a" + }, + "0,33": { + "contents": "a" + }, + "0,34": { + "contents": "a" + }, + "0,35": { + "contents": "a" + }, + "0,36": { + "contents": "a" + }, + "0,37": { + "contents": "a" + }, + "0,38": { + "contents": "a" + }, + "0,39": { + "contents": "a" + }, + "0,4": { + "contents": "a" + }, + "0,40": { + "contents": "a" + }, + "0,41": { + "contents": "a" + }, + "0,42": { + "contents": "a" + }, + "0,43": { + "contents": "a" + }, + "0,44": { + "contents": "a" + }, + "0,45": { + "contents": "a" + }, + "0,46": { + "contents": "a" + }, + "0,47": { + "contents": "a" + }, + "0,48": { + "contents": "a" + }, + "0,49": { + "contents": "a" + }, + "0,5": { + "contents": "a" + }, + "0,50": { + "contents": "a" + }, + "0,51": { + "contents": "a" + }, + "0,52": { + "contents": "a" + }, + "0,53": { + "contents": "a" + }, + "0,54": { + "contents": "a" + }, + "0,55": { + "contents": "a" + }, + "0,56": { + "contents": "a" + }, + "0,57": { + "contents": "a" + }, + "0,58": { + "contents": "a" + }, + "0,59": { + "contents": "a" + }, + "0,6": { + "contents": "a" + }, + "0,60": { + "contents": "a" + }, + "0,61": { + "contents": "a" + }, + "0,62": { + "contents": "a" + }, + "0,63": { + "contents": "a" + }, + "0,64": { + "contents": "a" + }, + "0,65": { + "contents": "a" + }, + "0,66": { + "contents": "a" + }, + "0,67": { + "contents": "a" + }, + "0,68": { + "contents": "a" + }, + "0,69": { + "contents": "a" + }, + "0,7": { + "contents": "a" + }, + "0,70": { + "contents": "a" + }, + "0,71": { + "contents": "a" + }, + "0,72": { + "contents": "a" + }, + "0,73": { + "contents": "a" + }, + "0,74": { + "contents": "a" + }, + "0,75": { + "contents": "a" + }, + "0,76": { + "contents": "a" + }, + "0,77": { + "contents": "a" + }, + "0,78": { + "contents": "a" + }, + "0,79": { + "contents": "á" + }, + "0,8": { + "contents": "a" + }, + "0,9": { + "contents": "a" + } + }, + "cursor_position": [ + 1, + 0 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/11.typescript b/tests/data/fixtures/combining/11.typescript new file mode 100644 index 0000000..7f2a378 --- /dev/null +++ b/tests/data/fixtures/combining/11.typescript @@ -0,0 +1 @@ +́
\ No newline at end of file diff --git a/tests/data/fixtures/combining/12.json b/tests/data/fixtures/combining/12.json new file mode 100644 index 0000000..c68dfd0 --- /dev/null +++ b/tests/data/fixtures/combining/12.json @@ -0,0 +1,17 @@ +{ + "contents": "á", + "cells": { + "0,0": { + "contents": "á", + "is_wide": true + }, + "0,1": { + "contents": "", + "is_wide_continuation": true + } + }, + "cursor_position": [ + 0, + 2 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/12.typescript b/tests/data/fixtures/combining/12.typescript new file mode 100644 index 0000000..bfa327b --- /dev/null +++ b/tests/data/fixtures/combining/12.typescript @@ -0,0 +1 @@ +[H[Já
\ No newline at end of file diff --git a/tests/data/fixtures/combining/13.json b/tests/data/fixtures/combining/13.json new file mode 100644 index 0000000..e963384 --- /dev/null +++ b/tests/data/fixtures/combining/13.json @@ -0,0 +1,12 @@ +{ + "contents": " ́", + "cells": { + "0,1": { + "contents": " ́" + } + }, + "cursor_position": [ + 0, + 2 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/13.typescript b/tests/data/fixtures/combining/13.typescript new file mode 100644 index 0000000..9663679 --- /dev/null +++ b/tests/data/fixtures/combining/13.typescript @@ -0,0 +1 @@ +[H[J[2Ć
\ No newline at end of file diff --git a/tests/data/fixtures/combining/2.json b/tests/data/fixtures/combining/2.json new file mode 100644 index 0000000..6dce798 --- /dev/null +++ b/tests/data/fixtures/combining/2.json @@ -0,0 +1,12 @@ +{ + "contents": "á", + "cells": { + "0,0": { + "contents": "á" + } + }, + "cursor_position": [ + 0, + 1 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/2.typescript b/tests/data/fixtures/combining/2.typescript new file mode 100644 index 0000000..7f2a378 --- /dev/null +++ b/tests/data/fixtures/combining/2.typescript @@ -0,0 +1 @@ +́
\ No newline at end of file diff --git a/tests/data/fixtures/combining/3.json b/tests/data/fixtures/combining/3.json new file mode 100644 index 0000000..f95003e --- /dev/null +++ b/tests/data/fixtures/combining/3.json @@ -0,0 +1,30 @@ +{ + "contents": "abcdefg", + "cells": { + "0,0": { + "contents": "a" + }, + "0,1": { + "contents": "b" + }, + "0,2": { + "contents": "c" + }, + "0,3": { + "contents": "d" + }, + "0,4": { + "contents": "e" + }, + "0,5": { + "contents": "f" + }, + "0,6": { + "contents": "g" + } + }, + "cursor_position": [ + 0, + 7 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/3.typescript b/tests/data/fixtures/combining/3.typescript new file mode 100644 index 0000000..cc9609c --- /dev/null +++ b/tests/data/fixtures/combining/3.typescript @@ -0,0 +1 @@ +cabcdefg
\ No newline at end of file diff --git a/tests/data/fixtures/combining/4.json b/tests/data/fixtures/combining/4.json new file mode 100644 index 0000000..4044d4d --- /dev/null +++ b/tests/data/fixtures/combining/4.json @@ -0,0 +1,30 @@ +{ + "contents": "abcdéfg", + "cells": { + "0,0": { + "contents": "a" + }, + "0,1": { + "contents": "b" + }, + "0,2": { + "contents": "c" + }, + "0,3": { + "contents": "d" + }, + "0,4": { + "contents": "é" + }, + "0,5": { + "contents": "f" + }, + "0,6": { + "contents": "g" + } + }, + "cursor_position": [ + 0, + 5 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/4.typescript b/tests/data/fixtures/combining/4.typescript new file mode 100644 index 0000000..80ea857 --- /dev/null +++ b/tests/data/fixtures/combining/4.typescript @@ -0,0 +1 @@ +[1;6H́
\ No newline at end of file diff --git a/tests/data/fixtures/combining/5.json b/tests/data/fixtures/combining/5.json new file mode 100644 index 0000000..67600d7 --- /dev/null +++ b/tests/data/fixtures/combining/5.json @@ -0,0 +1,39 @@ +{ + "contents": "abcdéfg\n\n\n\n\n\n\n\n\n aaa", + "cells": { + "0,0": { + "contents": "a" + }, + "0,1": { + "contents": "b" + }, + "0,2": { + "contents": "c" + }, + "0,3": { + "contents": "d" + }, + "0,4": { + "contents": "é" + }, + "0,5": { + "contents": "f" + }, + "0,6": { + "contents": "g" + }, + "9,77": { + "contents": "a" + }, + "9,78": { + "contents": "a" + }, + "9,79": { + "contents": "a" + } + }, + "cursor_position": [ + 9, + 80 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/5.typescript b/tests/data/fixtures/combining/5.typescript new file mode 100644 index 0000000..844421a --- /dev/null +++ b/tests/data/fixtures/combining/5.typescript @@ -0,0 +1 @@ +[10;78Haaa
\ No newline at end of file diff --git a/tests/data/fixtures/combining/6.json b/tests/data/fixtures/combining/6.json new file mode 100644 index 0000000..cbb481a --- /dev/null +++ b/tests/data/fixtures/combining/6.json @@ -0,0 +1,39 @@ +{ + "contents": "abcdéfg\n\n\n\n\n\n\n\n\n aaa", + "cells": { + "0,0": { + "contents": "a" + }, + "0,1": { + "contents": "b" + }, + "0,2": { + "contents": "c" + }, + "0,3": { + "contents": "d" + }, + "0,4": { + "contents": "é" + }, + "0,5": { + "contents": "f" + }, + "0,6": { + "contents": "g" + }, + "9,77": { + "contents": "a" + }, + "9,78": { + "contents": "a" + }, + "9,79": { + "contents": "a" + } + }, + "cursor_position": [ + 10, + 0 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/6.typescript b/tests/data/fixtures/combining/6.typescript new file mode 100644 index 0000000..5160196 --- /dev/null +++ b/tests/data/fixtures/combining/6.typescript @@ -0,0 +1,2 @@ +
+́
\ No newline at end of file diff --git a/tests/data/fixtures/combining/7.json b/tests/data/fixtures/combining/7.json new file mode 100644 index 0000000..151d517 --- /dev/null +++ b/tests/data/fixtures/combining/7.json @@ -0,0 +1,30 @@ +{ + "contents": "ab́cdefg", + "cells": { + "0,0": { + "contents": "a" + }, + "0,1": { + "contents": "b́" + }, + "0,2": { + "contents": "c" + }, + "0,3": { + "contents": "d" + }, + "0,4": { + "contents": "e" + }, + "0,5": { + "contents": "f" + }, + "0,6": { + "contents": "g" + } + }, + "cursor_position": [ + 0, + 2 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/7.typescript b/tests/data/fixtures/combining/7.typescript new file mode 100644 index 0000000..bd18e8c --- /dev/null +++ b/tests/data/fixtures/combining/7.typescript @@ -0,0 +1 @@ +cabcdefg[1;3H́
\ No newline at end of file diff --git a/tests/data/fixtures/combining/8.json b/tests/data/fixtures/combining/8.json new file mode 100644 index 0000000..f95003e --- /dev/null +++ b/tests/data/fixtures/combining/8.json @@ -0,0 +1,30 @@ +{ + "contents": "abcdefg", + "cells": { + "0,0": { + "contents": "a" + }, + "0,1": { + "contents": "b" + }, + "0,2": { + "contents": "c" + }, + "0,3": { + "contents": "d" + }, + "0,4": { + "contents": "e" + }, + "0,5": { + "contents": "f" + }, + "0,6": { + "contents": "g" + } + }, + "cursor_position": [ + 0, + 7 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/8.typescript b/tests/data/fixtures/combining/8.typescript new file mode 100644 index 0000000..f92dea9 --- /dev/null +++ b/tests/data/fixtures/combining/8.typescript @@ -0,0 +1 @@ +[1;2Hb[1;8H
\ No newline at end of file diff --git a/tests/data/fixtures/combining/9.json b/tests/data/fixtures/combining/9.json new file mode 100644 index 0000000..f95003e --- /dev/null +++ b/tests/data/fixtures/combining/9.json @@ -0,0 +1,30 @@ +{ + "contents": "abcdefg", + "cells": { + "0,0": { + "contents": "a" + }, + "0,1": { + "contents": "b" + }, + "0,2": { + "contents": "c" + }, + "0,3": { + "contents": "d" + }, + "0,4": { + "contents": "e" + }, + "0,5": { + "contents": "f" + }, + "0,6": { + "contents": "g" + } + }, + "cursor_position": [ + 0, + 7 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/combining/9.typescript b/tests/data/fixtures/combining/9.typescript new file mode 100644 index 0000000..cc9609c --- /dev/null +++ b/tests/data/fixtures/combining/9.typescript @@ -0,0 +1 @@ +cabcdefg
\ No newline at end of file |