aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/fixtures/bs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-12-05 03:13:37 -0500
committerJesse Luehrs <doy@tozt.net>2019-12-06 21:26:07 -0500
commit3d8e234c1bcdae6e83465d08158188e76aa1aae9 (patch)
tree61aaa65ce08b0b917b8b6deb96b1a72d632b3616 /tests/data/fixtures/bs
parent820acef50154e1fbfd1559d4113c0a83505a9612 (diff)
downloadvt100-rust-3d8e234c1bcdae6e83465d08158188e76aa1aae9.tar.gz
vt100-rust-3d8e234c1bcdae6e83465d08158188e76aa1aae9.zip
convert tests to fixtures
Diffstat (limited to 'tests/data/fixtures/bs')
-rw-r--r--tests/data/fixtures/bs/1.json18
-rw-r--r--tests/data/fixtures/bs/1.typescript1
-rw-r--r--tests/data/fixtures/bs/2.json30
-rw-r--r--tests/data/fixtures/bs/2.typescript2
4 files changed, 51 insertions, 0 deletions
diff --git a/tests/data/fixtures/bs/1.json b/tests/data/fixtures/bs/1.json
new file mode 100644
index 0000000..25ab487
--- /dev/null
+++ b/tests/data/fixtures/bs/1.json
@@ -0,0 +1,18 @@
+{
+ "contents": "faa",
+ "cells": {
+ "0,0": {
+ "contents": "f"
+ },
+ "0,1": {
+ "contents": "a"
+ },
+ "0,2": {
+ "contents": "a"
+ }
+ },
+ "cursor_position": [
+ 0,
+ 3
+ ]
+} \ No newline at end of file
diff --git a/tests/data/fixtures/bs/1.typescript b/tests/data/fixtures/bs/1.typescript
new file mode 100644
index 0000000..c84ba2c
--- /dev/null
+++ b/tests/data/fixtures/bs/1.typescript
@@ -0,0 +1 @@
+fooaa \ No newline at end of file
diff --git a/tests/data/fixtures/bs/2.json b/tests/data/fixtures/bs/2.json
new file mode 100644
index 0000000..37cc1d2
--- /dev/null
+++ b/tests/data/fixtures/bs/2.json
@@ -0,0 +1,30 @@
+{
+ "contents": "faa\nbarx",
+ "cells": {
+ "0,0": {
+ "contents": "f"
+ },
+ "0,1": {
+ "contents": "a"
+ },
+ "0,2": {
+ "contents": "a"
+ },
+ "1,0": {
+ "contents": "b"
+ },
+ "1,1": {
+ "contents": "a"
+ },
+ "1,2": {
+ "contents": "r"
+ },
+ "1,3": {
+ "contents": "x"
+ }
+ },
+ "cursor_position": [
+ 1,
+ 3
+ ]
+} \ No newline at end of file
diff --git a/tests/data/fixtures/bs/2.typescript b/tests/data/fixtures/bs/2.typescript
new file mode 100644
index 0000000..e23b077
--- /dev/null
+++ b/tests/data/fixtures/bs/2.typescript
@@ -0,0 +1,2 @@
+
+quuxbar \ No newline at end of file