aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/data/deprecated_to_path.nix
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-01-30 07:00:51 +0000
committerAkshay <[email protected]>2022-01-30 07:00:51 +0000
commit7457498ea64c4542b501d4c03ec2ff617763b070 (patch)
tree6e8af042bf948d25dff858a61d8016226dc2c834 /bin/tests/data/deprecated_to_path.nix
parentadacdb07ca7dca0e6dfaaf2379688524f690c8b8 (diff)
new lint: deprecated_to_path
Diffstat (limited to 'bin/tests/data/deprecated_to_path.nix')
-rw-r--r--bin/tests/data/deprecated_to_path.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/tests/data/deprecated_to_path.nix b/bin/tests/data/deprecated_to_path.nix
new file mode 100644
index 0000000..cf8e021
--- /dev/null
+++ b/bin/tests/data/deprecated_to_path.nix
@@ -0,0 +1,6 @@
1[
2 (builtins.toPath x)
3 (toPath x)
4 (toPath "/abc/def")
5 (builtins.toPath "/some/path")
6]