Skip to content

Commit

Permalink
Merge pull request #784 from rsteube/test-files-linux
Browse files Browse the repository at this point in the history
limit test files to linux
  • Loading branch information
rsteube authored Jun 20, 2023
2 parents 7b6ff22 + 4157a2a commit 89ff5fe
Show file tree
Hide file tree
Showing 25 changed files with 28 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vscode
example/example
example/cmd/_test_files/*.txt
caraparse/caraparse
docs/book
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
24 changes: 24 additions & 0 deletions example/cmd/_test_files/files_linux.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package testfiles

//go:generate touch -- -_minus_prefix.txt
//go:generate touch -- ampersand_&.txt
//go:generate touch -- angle-brackets_<>.txt
//go:generate touch -- backslash2_\n.txt
//go:generate touch -- backslash3_\t.txt
//go:generate touch -- backslash_\.txt
//go:generate touch -- backtick_`.txt
//go:generate touch -- both_quotes_'".txt
//go:generate touch -- colon_:.txt
//go:generate touch -- curly-brackets_{}.txt
//go:generate touch -- dollar_$.txt
//go:generate touch -- double-quote_".txt
//go:generate touch -- hash_#.txt
//go:generate touch -- pipe_|.txt
//go:generate touch -- question_?.txt
//go:generate touch -- round-brackets_().txt
//go:generate touch -- semicolon_;.txt
//go:generate touch -- single-quote_'.txt
//go:generate touch -- "space_ .txt"
//go:generate touch -- square-brackets_[].txt
//go:generate touch -- "star_*.txt"
//go:generate touch -- ~_tilde_prefix.txt
4 changes: 3 additions & 1 deletion example/cmd/_test_files/go.mod
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# fix go mod invalid char error: https://github.com/golang/go/issues/26672
module github.com/rsteube/carapace/example/_test_files

// fix go mod invalid char error: https://github.com/golang/go/issues/26672
Empty file removed example/cmd/_test_files/hash_#.txt
Empty file.
Empty file removed example/cmd/_test_files/pipe_|.txt
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed example/cmd/_test_files/star_*.txt
Empty file.
Empty file.

0 comments on commit 89ff5fe

Please sign in to comment.