summaryrefslogtreecommitdiffstats
path: root/test/datafile_simple.6
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
commit5068d34c08f951a7ea6257d305a1627b09a95817 (patch)
tree08213e2be853396a3b07ce15dbe222644dcd9a89 /test/datafile_simple.6
parentInitial commit. (diff)
downloadlnav-upstream.tar.xz
lnav-upstream.zip
Adding upstream version 0.11.1.upstream/0.11.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/datafile_simple.6')
-rw-r--r--test/datafile_simple.625
1 files changed, 25 insertions, 0 deletions
diff --git a/test/datafile_simple.6 b/test/datafile_simple.6
new file mode 100644
index 0000000..15cfab1
--- /dev/null
+++ b/test/datafile_simple.6
@@ -0,0 +1,25 @@
+ qualified:name: foo=1 bar=2
+ key 0:0
+word 0:9 ^-------^ qualified
+ val 0:9 ^-------^ qualified
+pair 0:9 ^-------^ qualified
+ key 10:10 ^
+word 10:14 ^--^ name
+ val 10:14 ^--^ name
+pair 10:14 ^--^ name
+ key 16:19 ^-^ foo
+ num 20:21 ^ 1
+ val 20:21 ^ 1
+pair 16:21 ^---^ foo=1
+ key 22:25 ^-^ bar
+ num 26:27 ^ 2
+ val 26:27 ^ 2
+pair 22:27 ^---^ bar=2
+msg :qualified:name: foo=1 bar=2
+format :#:#: foo=# bar=#
+{
+ "col_0": "qualified",
+ "col_1": "name",
+ "foo": 1,
+ "bar": 2
+}