From 3d8e234c1bcdae6e83465d08158188e76aa1aae9 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 5 Dec 2019 03:13:37 -0500 Subject: convert tests to fixtures --- tests/data/fixtures/ff/1.json | 27 +++++++++++++++++++++++++++ tests/data/fixtures/ff/1.typescript | 1 + tests/data/fixtures/ff/2.json | 8 ++++++++ tests/data/fixtures/ff/2.typescript | 1 + tests/data/fixtures/ff/3.json | 12 ++++++++++++ tests/data/fixtures/ff/3.typescript | 1 + tests/data/fixtures/ff/4.json | 12 ++++++++++++ tests/data/fixtures/ff/4.typescript | 1 + tests/data/fixtures/ff/5.json | 15 +++++++++++++++ tests/data/fixtures/ff/5.typescript | 1 + 10 files changed, 79 insertions(+) create mode 100644 tests/data/fixtures/ff/1.json create mode 100644 tests/data/fixtures/ff/1.typescript create mode 100644 tests/data/fixtures/ff/2.json create mode 100644 tests/data/fixtures/ff/2.typescript create mode 100644 tests/data/fixtures/ff/3.json create mode 100644 tests/data/fixtures/ff/3.typescript create mode 100644 tests/data/fixtures/ff/4.json create mode 100644 tests/data/fixtures/ff/4.typescript create mode 100644 tests/data/fixtures/ff/5.json create mode 100644 tests/data/fixtures/ff/5.typescript (limited to 'tests/data/fixtures/ff') diff --git a/tests/data/fixtures/ff/1.json b/tests/data/fixtures/ff/1.json new file mode 100644 index 0000000..dbf4323 --- /dev/null +++ b/tests/data/fixtures/ff/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/ff/1.typescript b/tests/data/fixtures/ff/1.typescript new file mode 100644 index 0000000..a266d57 --- /dev/null +++ b/tests/data/fixtures/ff/1.typescript @@ -0,0 +1 @@ +foo bar \ No newline at end of file diff --git a/tests/data/fixtures/ff/2.json b/tests/data/fixtures/ff/2.json new file mode 100644 index 0000000..1c64749 --- /dev/null +++ b/tests/data/fixtures/ff/2.json @@ -0,0 +1,8 @@ +{ + "contents": "", + "cells": {}, + "cursor_position": [ + 3, + 79 + ] +} \ No newline at end of file diff --git a/tests/data/fixtures/ff/2.typescript b/tests/data/fixtures/ff/2.typescript new file mode 100644 index 0000000..0325a4a --- /dev/null +++ b/tests/data/fixtures/ff/2.typescript @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/fixtures/ff/3.json b/tests/data/fixtures/ff/3.json new file mode 100644 index 0000000..8d259dd --- /dev/null +++ b/tests/data/fixtures/ff/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/ff/3.typescript b/tests/data/fixtures/ff/3.typescript new file mode 100644 index 0000000..2e65efe --- /dev/null +++ b/tests/data/fixtures/ff/3.typescript @@ -0,0 +1 @@ +a \ No newline at end of file diff --git a/tests/data/fixtures/ff/4.json b/tests/data/fixtures/ff/4.json new file mode 100644 index 0000000..26ec66d --- /dev/null +++ b/tests/data/fixtures/ff/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/ff/4.typescript b/tests/data/fixtures/ff/4.typescript new file mode 100644 index 0000000..8214d0e --- /dev/null +++ b/tests/data/fixtures/ff/4.typescript @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/fixtures/ff/5.json b/tests/data/fixtures/ff/5.json new file mode 100644 index 0000000..a22356a --- /dev/null +++ b/tests/data/fixtures/ff/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/ff/5.typescript b/tests/data/fixtures/ff/5.typescript new file mode 100644 index 0000000..63d8dbd --- /dev/null +++ b/tests/data/fixtures/ff/5.typescript @@ -0,0 +1 @@ +b \ No newline at end of file -- cgit v1.2.3-54-g00ecf