about summary refs log tree commit diff stats
path: root/tree-sitter-yts/test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tree-sitter-yts/test/corpus/comments.txt (renamed from tree-sitter-yts/corpus/comments.txt)0
-rw-r--r--tree-sitter-yts/test/corpus/comments.txt.license (renamed from tree-sitter-yts/corpus/comments.txt.license)0
-rw-r--r--tree-sitter-yts/test/corpus/comments_correct.txt (renamed from tree-sitter-yts/corpus/comments_correct.txt)0
-rw-r--r--tree-sitter-yts/test/corpus/comments_correct.txt.license (renamed from tree-sitter-yts/corpus/comments_correct.txt.license)0
-rw-r--r--tree-sitter-yts/test/corpus/duration.txt (renamed from tree-sitter-yts/corpus/duration.txt)2
-rw-r--r--tree-sitter-yts/test/corpus/duration.txt.license (renamed from tree-sitter-yts/corpus/duration.txt.license)0
-rw-r--r--tree-sitter-yts/test/corpus/flags.txt (renamed from tree-sitter-yts/corpus/flags.txt)0
-rw-r--r--tree-sitter-yts/test/corpus/flags.txt.license (renamed from tree-sitter-yts/corpus/flags.txt.license)0
-rw-r--r--tree-sitter-yts/test/corpus/flags_dash.txt (renamed from tree-sitter-yts/corpus/flags_dash.txt)0
-rw-r--r--tree-sitter-yts/test/corpus/flags_dash.txt.license (renamed from tree-sitter-yts/corpus/flags_dash.txt.license)0
-rw-r--r--tree-sitter-yts/test/corpus/missing_values.txt65
-rw-r--r--tree-sitter-yts/test/corpus/missing_values.txt.license (renamed from tree-sitter-yts/corpus/url.txt.license)0
-rw-r--r--tree-sitter-yts/test/corpus/url.txt (renamed from tree-sitter-yts/corpus/url.txt)0
-rw-r--r--tree-sitter-yts/test/corpus/url.txt.license9
14 files changed, 75 insertions, 1 deletions
diff --git a/tree-sitter-yts/corpus/comments.txt b/tree-sitter-yts/test/corpus/comments.txt
index f194cb5..f194cb5 100644
--- a/tree-sitter-yts/corpus/comments.txt
+++ b/tree-sitter-yts/test/corpus/comments.txt
diff --git a/tree-sitter-yts/corpus/comments.txt.license b/tree-sitter-yts/test/corpus/comments.txt.license
index d4d410f..d4d410f 100644
--- a/tree-sitter-yts/corpus/comments.txt.license
+++ b/tree-sitter-yts/test/corpus/comments.txt.license
diff --git a/tree-sitter-yts/corpus/comments_correct.txt b/tree-sitter-yts/test/corpus/comments_correct.txt
index fd45e47..fd45e47 100644
--- a/tree-sitter-yts/corpus/comments_correct.txt
+++ b/tree-sitter-yts/test/corpus/comments_correct.txt
diff --git a/tree-sitter-yts/corpus/comments_correct.txt.license b/tree-sitter-yts/test/corpus/comments_correct.txt.license
index d4d410f..d4d410f 100644
--- a/tree-sitter-yts/corpus/comments_correct.txt.license
+++ b/tree-sitter-yts/test/corpus/comments_correct.txt.license
diff --git a/tree-sitter-yts/corpus/duration.txt b/tree-sitter-yts/test/corpus/duration.txt
index af9ca82..207e0a7 100644
--- a/tree-sitter-yts/corpus/duration.txt
+++ b/tree-sitter-yts/test/corpus/duration.txt
@@ -5,7 +5,7 @@ Parse multiple lines with different durations
 pick 6f21 "Name" "2024-01-17" "A" "1h 0m" "url"
 pick 6z81 "Name2" "2024-01-16" "A2" "20m 02s" "url2"
 pick 6a84 "Name3" "2024-01-16" "A3" "20h 0m" "url3"
-pick 6b06 "Name4" "2024-01-16" "A4" "[No Duration]" "url4"
+pick 6b06 "Name4" "2024-01-16" "A4" "[No duration]" "url4"
 
 --------------------------------------------------------------------------------
 
diff --git a/tree-sitter-yts/corpus/duration.txt.license b/tree-sitter-yts/test/corpus/duration.txt.license
index d4d410f..d4d410f 100644
--- a/tree-sitter-yts/corpus/duration.txt.license
+++ b/tree-sitter-yts/test/corpus/duration.txt.license
diff --git a/tree-sitter-yts/corpus/flags.txt b/tree-sitter-yts/test/corpus/flags.txt
index 8c1d255..8c1d255 100644
--- a/tree-sitter-yts/corpus/flags.txt
+++ b/tree-sitter-yts/test/corpus/flags.txt
diff --git a/tree-sitter-yts/corpus/flags.txt.license b/tree-sitter-yts/test/corpus/flags.txt.license
index d4d410f..d4d410f 100644
--- a/tree-sitter-yts/corpus/flags.txt.license
+++ b/tree-sitter-yts/test/corpus/flags.txt.license
diff --git a/tree-sitter-yts/corpus/flags_dash.txt b/tree-sitter-yts/test/corpus/flags_dash.txt
index b9a5e7c..b9a5e7c 100644
--- a/tree-sitter-yts/corpus/flags_dash.txt
+++ b/tree-sitter-yts/test/corpus/flags_dash.txt
diff --git a/tree-sitter-yts/corpus/flags_dash.txt.license b/tree-sitter-yts/test/corpus/flags_dash.txt.license
index d4d410f..d4d410f 100644
--- a/tree-sitter-yts/corpus/flags_dash.txt.license
+++ b/tree-sitter-yts/test/corpus/flags_dash.txt.license
diff --git a/tree-sitter-yts/test/corpus/missing_values.txt b/tree-sitter-yts/test/corpus/missing_values.txt
new file mode 100644
index 0000000..106602a
--- /dev/null
+++ b/tree-sitter-yts/test/corpus/missing_values.txt
@@ -0,0 +1,65 @@
+================================================================================
+Parse multiple lines with missing information
+================================================================================
+
+pick    1 "no release date" "[No release date]" "A" "14m 0s" "http://gnu.org"
+pick    2 "no release date and author" "[No release date]" "[No author]" "14m 0s" "http://gnu.org"
+pick    3 "no release date, author and duration" "[No release date]" "[No author]" "[No duration]" "http://gnu.org"
+
+--------------------------------------------------------------------------------
+
+(source_file
+  (line
+    (command)
+    (id)
+    (title
+      (quote)
+      (quote))
+    (date
+      (quote)
+      (quote))
+    (author
+      (quote)
+      (quote))
+    (duration
+      (quote)
+      (quote))
+    (url
+      (quote)
+      (quote)))
+  (line
+    (command)
+    (id)
+    (title
+      (quote)
+      (quote))
+    (date
+      (quote)
+      (quote))
+    (author
+      (quote)
+      (quote))
+    (duration
+      (quote)
+      (quote))
+    (url
+      (quote)
+      (quote)))
+  (line
+    (command)
+    (id)
+    (title
+      (quote)
+      (quote))
+    (date
+      (quote)
+      (quote))
+    (author
+      (quote)
+      (quote))
+    (duration
+      (quote)
+      (quote))
+    (url
+      (quote)
+      (quote))))
diff --git a/tree-sitter-yts/corpus/url.txt.license b/tree-sitter-yts/test/corpus/missing_values.txt.license
index d4d410f..d4d410f 100644
--- a/tree-sitter-yts/corpus/url.txt.license
+++ b/tree-sitter-yts/test/corpus/missing_values.txt.license
diff --git a/tree-sitter-yts/corpus/url.txt b/tree-sitter-yts/test/corpus/url.txt
index 8236d6b..8236d6b 100644
--- a/tree-sitter-yts/corpus/url.txt
+++ b/tree-sitter-yts/test/corpus/url.txt
diff --git a/tree-sitter-yts/test/corpus/url.txt.license b/tree-sitter-yts/test/corpus/url.txt.license
new file mode 100644
index 0000000..d4d410f
--- /dev/null
+++ b/tree-sitter-yts/test/corpus/url.txt.license
@@ -0,0 +1,9 @@
+yt - A fully featured command line YouTube client
+
+Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: GPL-3.0-or-later
+
+This file is part of Yt.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.