aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/fixtures/newlines
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/fixtures/newlines')
-rw-r--r--tests/data/fixtures/newlines/1.json27
-rw-r--r--tests/data/fixtures/newlines/1.typescript3
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/data/fixtures/newlines/1.json b/tests/data/fixtures/newlines/1.json
new file mode 100644
index 0000000..1bec781
--- /dev/null
+++ b/tests/data/fixtures/newlines/1.json
@@ -0,0 +1,27 @@
+{
+ "contents": "f\noo\nood",
+ "cells": {
+ "0,0": {
+ "contents": "f"
+ },
+ "1,0": {
+ "contents": "o"
+ },
+ "1,1": {
+ "contents": "o"
+ },
+ "2,0": {
+ "contents": "o"
+ },
+ "2,1": {
+ "contents": "o"
+ },
+ "2,2": {
+ "contents": "d"
+ }
+ },
+ "cursor_position": [
+ 2,
+ 3
+ ]
+} \ No newline at end of file
diff --git a/tests/data/fixtures/newlines/1.typescript b/tests/data/fixtures/newlines/1.typescript
new file mode 100644
index 0000000..418aff0
--- /dev/null
+++ b/tests/data/fixtures/newlines/1.typescript
@@ -0,0 +1,3 @@
+f
+oo
+ood \ No newline at end of file