Skip to content

Commit

Permalink
refactor(haumea): update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Aug 26, 2023
1 parent deb4916 commit cac382c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 251 deletions.
200 changes: 0 additions & 200 deletions tests/_snapshots/haumea
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,6 @@
data = {
foo = "baz";
};
editorconfig = {
"*" = {
charset = "utf-8";
end_of_line = "lf";
indent_size = 2;
indent_style = "space";
insert_final_newline = true;
trim_trailing_whitespace = true;
};
"*.md" = {
max_line_length = "off";
trim_trailing_whitespace = false;
};
"*.{diff,patch}" = {
end_of_line = "unset";
indent_size = "unset";
insert_final_newline = "unset";
trim_trailing_whitespace = "unset";
};
root = true;
"{LICENSES/**,LICENSE}" = {
charset = "unset";
end_of_line = "unset";
indent_size = "unset";
indent_style = "unset";
insert_final_newline = "unset";
trim_trailing_whitespace = "unset";
};
};
treefmt = {
formatter = {
nix = {
Expand All @@ -50,15 +21,6 @@
prettier = {
command = "prettier";
includes = [
"*.css"
"*.html"
"*.js"
"*.json"
"*.jsx"
"*.md"
"*.mdx"
"*.scss"
"*.ts"
"*.yaml"
"*.toml"
"*.jsl"
Expand All @@ -69,54 +31,13 @@
"--write"
];
};
shell = {
command = "shfmt";
includes = [
"*.sh"
];
options = [
"-i"
"2"
"-s"
"-w"
];
};
};
};
};
default = {
data = {
foo = "baz";
};
editorconfig = {
"*" = {
charset = "utf-8";
end_of_line = "lf";
indent_size = 2;
indent_style = "space";
insert_final_newline = true;
trim_trailing_whitespace = true;
};
"*.md" = {
max_line_length = "off";
trim_trailing_whitespace = false;
};
"*.{diff,patch}" = {
end_of_line = "unset";
indent_size = "unset";
insert_final_newline = "unset";
trim_trailing_whitespace = "unset";
};
root = true;
"{LICENSES/**,LICENSE}" = {
charset = "unset";
end_of_line = "unset";
indent_size = "unset";
indent_style = "unset";
insert_final_newline = "unset";
trim_trailing_whitespace = "unset";
};
};
treefmt = {
formatter = {
nix = {
Expand All @@ -129,15 +50,6 @@
prettier = {
command = "prettier";
includes = [
"*.css"
"*.html"
"*.js"
"*.json"
"*.jsx"
"*.md"
"*.mdx"
"*.scss"
"*.ts"
"*.yaml"
"*.toml"
];
Expand All @@ -147,54 +59,13 @@
"--write"
];
};
shell = {
command = "shfmt";
includes = [
"*.sh"
];
options = [
"-i"
"2"
"-s"
"-w"
];
};
};
};
};
dmergeOutputs = {
data = {
foo = "baz";
};
editorconfig = {
"*" = {
charset = "utf-8";
end_of_line = "lf";
indent_size = 2;
indent_style = "space";
insert_final_newline = true;
trim_trailing_whitespace = true;
};
"*.md" = {
max_line_length = "off";
trim_trailing_whitespace = false;
};
"*.{diff,patch}" = {
end_of_line = "unset";
indent_size = "unset";
insert_final_newline = "unset";
trim_trailing_whitespace = "unset";
};
root = true;
"{LICENSES/**,LICENSE}" = {
charset = "unset";
end_of_line = "unset";
indent_size = "unset";
indent_style = "unset";
insert_final_newline = "unset";
trim_trailing_whitespace = "unset";
};
};
treefmt = {
formatter = {
nix = {
Expand All @@ -207,15 +78,6 @@
prettier = {
command = "prettier";
includes = [
"*.css"
"*.html"
"*.js"
"*.json"
"*.jsx"
"*.md"
"*.mdx"
"*.scss"
"*.ts"
"*.yaml"
"*.toml"
"*.dmergeOutputs"
Expand All @@ -226,18 +88,6 @@
"--write"
];
};
shell = {
command = "shfmt";
includes = [
"*.sh"
];
options = [
"-i"
"2"
"-s"
"-w"
];
};
};
};
};
Expand All @@ -248,35 +98,6 @@
dataExt = {
foo = "bar";
};
editorconfig = {
"*" = {
charset = "utf-8";
end_of_line = "lf";
indent_size = 2;
indent_style = "space";
insert_final_newline = true;
trim_trailing_whitespace = true;
};
"*.md" = {
max_line_length = "off";
trim_trailing_whitespace = false;
};
"*.{diff,patch}" = {
end_of_line = "unset";
indent_size = "unset";
insert_final_newline = "unset";
trim_trailing_whitespace = "unset";
};
root = true;
"{LICENSES/**,LICENSE}" = {
charset = "unset";
end_of_line = "unset";
indent_size = "unset";
indent_style = "unset";
insert_final_newline = "unset";
trim_trailing_whitespace = "unset";
};
};
treefmt = {
formatter = {
nix = {
Expand All @@ -289,15 +110,6 @@
prettier = {
command = "prettier";
includes = [
"*.css"
"*.html"
"*.js"
"*.json"
"*.jsx"
"*.md"
"*.mdx"
"*.scss"
"*.ts"
"*.yaml"
"*.toml"
];
Expand All @@ -307,18 +119,6 @@
"--write"
];
};
shell = {
command = "shfmt";
includes = [
"*.sh"
];
options = [
"-i"
"2"
"-s"
"-w"
];
};
};
};
};
Expand Down
32 changes: 0 additions & 32 deletions tests/haumea/__data/editorconfig.nix

This file was deleted.

19 changes: 0 additions & 19 deletions tests/haumea/__data/treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,9 @@
"--write"
];
includes = [
"*.css"
"*.html"
"*.js"
"*.json"
"*.jsx"
"*.md"
"*.mdx"
"*.scss"
"*.ts"
"*.yaml"
"*.toml"
];
};
shell = {
command = "shfmt";
options = [
"-i"
"2"
"-s"
"-w"
];
includes = [ "*.sh" ];
};
};
}

0 comments on commit cac382c

Please sign in to comment.