From f5c4671bfbad96bf346bd7e9a21fc4317b4959df Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sat, 3 Dec 2022 17:00:20 +0530 Subject: Adds most of the tools --- v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.comments.out | 7 +++++++ v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.out | 6 ++++++ v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.v | 8 ++++++++ 3 files changed, 21 insertions(+) create mode 100644 v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.comments.out create mode 100644 v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.out create mode 100644 v_windows/v/cmd/tools/vdoc/tests/testdata/basic/main.v (limited to 'v_windows/v/cmd/tools/vdoc/tests/testdata/basic') 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') +} -- cgit v1.2.3