aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/cmd/tools/vdoc/tests/testdata/basic
diff options
context:
space:
mode:
authorIndrajith K L2022-12-03 17:00:20 +0530
committerIndrajith K L2022-12-03 17:00:20 +0530
commitf5c4671bfbad96bf346bd7e9a21fc4317b4959df (patch)
tree2764fc62da58f2ba8da7ed341643fc359873142f /v_windows/v/cmd/tools/vdoc/tests/testdata/basic
downloadcli-tools-windows-master.tar.gz
cli-tools-windows-master.tar.bz2
cli-tools-windows-master.zip
Adds most of the toolsHEADmaster
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')
+}