diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-12-05 03:13:37 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-12-06 21:26:07 -0500 |
commit | 3d8e234c1bcdae6e83465d08158188e76aa1aae9 (patch) | |
tree | 61aaa65ce08b0b917b8b6deb96b1a72d632b3616 /tests/data/fixtures/vt | |
parent | 820acef50154e1fbfd1559d4113c0a83505a9612 (diff) | |
download | vt100-rust-3d8e234c1bcdae6e83465d08158188e76aa1aae9.tar.gz vt100-rust-3d8e234c1bcdae6e83465d08158188e76aa1aae9.zip |
convert tests to fixtures
Diffstat (limited to 'tests/data/fixtures/vt')
-rw-r--r-- | tests/data/fixtures/vt/1.json | 27 | ||||
-rw-r--r-- | tests/data/fixtures/vt/1.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/vt/2.json | 8 | ||||
-rw-r--r-- | tests/data/fixtures/vt/2.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/vt/3.json | 12 | ||||
-rw-r--r-- | tests/data/fixtures/vt/3.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/vt/4.json | 12 | ||||
-rw-r--r-- | tests/data/fixtures/vt/4.typescript | 1 | ||||
-rw-r--r-- | tests/data/fixtures/vt/5.json | 15 | ||||
-rw-r--r-- | tests/data/fixtures/vt/5.typescript | 1 |
10 files changed, 79 insertions, 0 deletions
diff --git a/tests/data/fixtures/vt/1.json b/tests/data/fixtures/vt/1.json new file mode 100644 index 0000000..dbf4323 --- /dev/null +++ b/tests/data/fixtures/vt/1.json @@ -0,0 +1,27 @@ +{ + "contents": "foo\n bar", + "cells": { + "0,0": { + "contents": "f" + }, + "0,1": { + "contents": "o" + }, + "0,2": { + "contents": "o" + }, + "1,3": { + "contents": "b" + }, + "1,4": { + "contents": "a" + }, + "1,5": { + "contents": "r" + } + }, + "cursor_position": [ + 1, + 6 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/vt/1.typescript b/tests/data/fixtures/vt/1.typescript new file mode 100644 index 0000000..f7caf2d --- /dev/null +++ b/tests/data/fixtures/vt/1.typescript @@ -0,0 +1 @@ +foobar
\ No newline at end of file diff --git a/tests/data/fixtures/vt/2.json b/tests/data/fixtures/vt/2.json new file mode 100644 index 0000000..1c64749 --- /dev/null +++ b/tests/data/fixtures/vt/2.json @@ -0,0 +1,8 @@ +{ + "contents": "", + "cells": {}, + "cursor_position": [ + 3, + 79 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/vt/2.typescript b/tests/data/fixtures/vt/2.typescript new file mode 100644 index 0000000..0325a4a --- /dev/null +++ b/tests/data/fixtures/vt/2.typescript @@ -0,0 +1 @@ +[H[J[4;80H
\ No newline at end of file diff --git a/tests/data/fixtures/vt/3.json b/tests/data/fixtures/vt/3.json new file mode 100644 index 0000000..8d259dd --- /dev/null +++ b/tests/data/fixtures/vt/3.json @@ -0,0 +1,12 @@ +{ + "contents": "\n\n\n a", + "cells": { + "3,79": { + "contents": "a" + } + }, + "cursor_position": [ + 3, + 80 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/vt/3.typescript b/tests/data/fixtures/vt/3.typescript new file mode 100644 index 0000000..2e65efe --- /dev/null +++ b/tests/data/fixtures/vt/3.typescript @@ -0,0 +1 @@ +a
\ No newline at end of file diff --git a/tests/data/fixtures/vt/4.json b/tests/data/fixtures/vt/4.json new file mode 100644 index 0000000..26ec66d --- /dev/null +++ b/tests/data/fixtures/vt/4.json @@ -0,0 +1,12 @@ +{ + "contents": "\n\n\n a", + "cells": { + "3,79": { + "contents": "a" + } + }, + "cursor_position": [ + 4, + 80 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/vt/4.typescript b/tests/data/fixtures/vt/4.typescript new file mode 100644 index 0000000..2725bca --- /dev/null +++ b/tests/data/fixtures/vt/4.typescript @@ -0,0 +1 @@ +
\ No newline at end of file diff --git a/tests/data/fixtures/vt/5.json b/tests/data/fixtures/vt/5.json new file mode 100644 index 0000000..a22356a --- /dev/null +++ b/tests/data/fixtures/vt/5.json @@ -0,0 +1,15 @@ +{ + "contents": "\n\n\n a\n\nb", + "cells": { + "3,79": { + "contents": "a" + }, + "5,0": { + "contents": "b" + } + }, + "cursor_position": [ + 5, + 1 + ] +}
\ No newline at end of file diff --git a/tests/data/fixtures/vt/5.typescript b/tests/data/fixtures/vt/5.typescript new file mode 100644 index 0000000..63d8dbd --- /dev/null +++ b/tests/data/fixtures/vt/5.typescript @@ -0,0 +1 @@ +b
\ No newline at end of file |