aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/cmd/tools/vdoc/tests/testdata/basic
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/cmd/tools/vdoc/tests/testdata/basic')
-rw-r--r--v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.comments.out7
-rw-r--r--v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.out6
-rw-r--r--v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.v8
3 files changed, 21 insertions, 0 deletions
diff --git a/v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.comments.out b/v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.comments.out
new file mode 100644
index 0000000..326f0c5
--- /dev/null
+++ b/v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.comments.out
@@ -0,0 +1,7 @@
+module main
+
+const (
+ source_root = 'temp'
+)
+fn funky()
+ funky - comment for function below \ No newline at end of file
diff --git a/v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.out b/v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.out
new file mode 100644
index 0000000..08fe504
--- /dev/null
+++ b/v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.out
@@ -0,0 +1,6 @@
+module main
+
+const (
+ source_root = 'temp'
+)
+fn funky() \ No newline at end of file
diff --git a/v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.v b/v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.v
new file mode 100644
index 0000000..9cb66e3
--- /dev/null
+++ b/v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.v
@@ -0,0 +1,8 @@
+pub const (
+ source_root = 'temp'
+)
+
+// funky - comment for function below
+pub fn funky() {
+ println('hi')
+}