diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4602255..b596e60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,5 +109,5 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v2 with: - name: green-tea-${{ matrix.target }} - path: target/debug/green-tea + name: matcha-${{ matrix.target }} + path: target/debug/matcha diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc25efa..4d6eec3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,15 +58,15 @@ jobs: run: | VERSION="${GITHUB_REF#refs/tags/}" if [ "${{ matrix.os }}" = "windows-latest" ]; then - ARCHIVE="green-tea-$VERSION-${{ matrix.build }}.zip" - cp "target/release/green-tea.exe" "green-tea.exe" - 7z a "$ARCHIVE" "green-tea.exe" - rm green-tea.exe + ARCHIVE="matcha-$VERSION-${{ matrix.build }}.zip" + cp "target/release/matcha.exe" "matcha.exe" + 7z a "$ARCHIVE" "matcha.exe" + rm matcha.exe else - ARCHIVE="green-tea-$VERSION-${{ matrix.build }}.tar.gz" - cp "target/release/green-tea" "green-tea" - tar -czvf "$ARCHIVE" "green-tea" - rm green-tea + ARCHIVE="matcha-$VERSION-${{ matrix.build }}.tar.gz" + cp "target/release/matcha" "matcha" + tar -czvf "$ARCHIVE" "matcha" + rm matcha fi openssl dgst -r -sha256 -out "$ARCHIVE".sha256 "$ARCHIVE" openssl dgst -r -sha512 -out "$ARCHIVE".sha512 "$ARCHIVE" @@ -110,9 +110,9 @@ jobs: shell: bash run: | VERSION="${GITHUB_REF#refs/tags/}" - ARCHIVE="green-tea-$VERSION-linux-amd64.tar.gz" - cp "target/x86_64-unknown-linux-musl/release/green-tea" "green-tea" - tar -czvf "$ARCHIVE" "green-tea" + ARCHIVE="matcha-$VERSION-linux-amd64.tar.gz" + cp "target/x86_64-unknown-linux-musl/release/matcha" "matcha" + tar -czvf "$ARCHIVE" "matcha" openssl dgst -r -sha256 -out "$ARCHIVE".sha256 "$ARCHIVE" openssl dgst -r -sha512 -out "$ARCHIVE".sha512 "$ARCHIVE" echo "ASSET=$ARCHIVE" >> $GITHUB_ENV diff --git a/CHANGELOG.md b/CHANGELOG.md index 33f149d..fc55ffd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.13.0 + +- **Breaking change**: Rename the project to 'matcha' to remove the double-barrelled nature of the + previous name and avoid the clash with the `.tea` extension name. + +- **Breaking change**: The template files should now have a `.matcha` suffix instead of `.tea`. + ## 0.12.0 - **Breaking change**: Rename the project to 'green-tea' as the previous name was essentially diff --git a/Cargo.lock b/Cargo.lock index 539b09b..fa29424 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -106,20 +106,6 @@ dependencies = [ "termcolor", ] -[[package]] -name = "green-tea" -version = "0.12.0" -dependencies = [ - "atty", - "codespan-reporting", - "env_logger", - "insta", - "log", - "structopt", - "unicode-segmentation", - "walkdir", -] - [[package]] name = "hashbrown" version = "0.11.2" @@ -208,6 +194,20 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "matcha" +version = "0.13.0" +dependencies = [ + "atty", + "codespan-reporting", + "env_logger", + "insta", + "log", + "structopt", + "unicode-segmentation", + "walkdir", +] + [[package]] name = "memchr" version = "2.4.1" diff --git a/Cargo.toml b/Cargo.toml index bb713c7..295ffac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "green-tea" -version = "0.12.0" +name = "matcha" +version = "0.13.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index 8f67ad2..3ad82a7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Green Tea +# Matcha Generate type-safe Gleam modules from text-based template files. @@ -9,7 +9,7 @@ parameters. ## Installation Download pre-built binaries for the latest release from the -[Releases](https://github.com/michaeljones/green-tea/releases) page. +[Releases](https://github.com/michaeljones/matcha/releases) page. Build from source with: @@ -22,13 +22,13 @@ cargo install --path . Run: ``` -green-tea +matcha ``` At the root of your project and it will walk your project folder structure and compile any template files it finds. -Template files should have a `.tea` extension. Templates are compiled into `.gleam` files that can +Template files should have a `.matcha` extension. Templates are compiled into `.gleam` files that can be imported like any other regular module. The modules expose a `render` function, that returns a `String`, and `render_builder` function that returns a `StringBuilder`. diff --git a/src/main.rs b/src/main.rs index 7ecb6ea..8b1c66b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -60,7 +60,7 @@ fn color_choice() -> ColorChoice { } #[derive(Debug, StructOpt)] -#[structopt(name = "green-tea", about = "Compiles templates into Gleam modules")] +#[structopt(name = "matcha", about = "Compiles templates into Gleam modules")] struct Opt { #[structopt(short, long)] verbose: bool, @@ -85,7 +85,7 @@ fn main() { .filter_map(|entry| { let path = entry.path(); - if path.extension() == Some(std::ffi::OsStr::new("tea")) { + if path.extension() == Some(std::ffi::OsStr::new("matcha")) { if opt.verbose { println!("Converting {}", path.display()); } diff --git a/src/snapshots/green_tea__error__test__error_duplicate_with.snap b/src/snapshots/matcha__error__test__error_duplicate_with.snap similarity index 100% rename from src/snapshots/green_tea__error__test__error_duplicate_with.snap rename to src/snapshots/matcha__error__test__error_duplicate_with.snap diff --git a/src/snapshots/green_tea__error__test__error_unexpected_endif.snap b/src/snapshots/matcha__error__test__error_unexpected_endif.snap similarity index 100% rename from src/snapshots/green_tea__error__test__error_unexpected_endif.snap rename to src/snapshots/matcha__error__test__error_unexpected_endif.snap diff --git a/src/snapshots/green_tea__error__test__error_unexpected_keyword.snap b/src/snapshots/matcha__error__test__error_unexpected_keyword.snap similarity index 100% rename from src/snapshots/green_tea__error__test__error_unexpected_keyword.snap rename to src/snapshots/matcha__error__test__error_unexpected_keyword.snap diff --git a/src/snapshots/green_tea__error__test__error_unknown_keyword.snap b/src/snapshots/matcha__error__test__error_unknown_keyword.snap similarity index 100% rename from src/snapshots/green_tea__error__test__error_unknown_keyword.snap rename to src/snapshots/matcha__error__test__error_unknown_keyword.snap diff --git a/src/snapshots/green_tea__parser__test__parse_builder_block.snap b/src/snapshots/matcha__parser__test__parse_builder_block.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_builder_block.snap rename to src/snapshots/matcha__parser__test__parse_builder_block.snap diff --git a/src/snapshots/green_tea__parser__test__parse_builder_expression.snap b/src/snapshots/matcha__parser__test__parse_builder_expression.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_builder_expression.snap rename to src/snapshots/matcha__parser__test__parse_builder_expression.snap diff --git a/src/snapshots/green_tea__parser__test__parse_dot_access.snap b/src/snapshots/matcha__parser__test__parse_dot_access.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_dot_access.snap rename to src/snapshots/matcha__parser__test__parse_dot_access.snap diff --git a/src/snapshots/green_tea__parser__test__parse_empty_if_statement.snap b/src/snapshots/matcha__parser__test__parse_empty_if_statement.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_empty_if_statement.snap rename to src/snapshots/matcha__parser__test__parse_empty_if_statement.snap diff --git a/src/snapshots/green_tea__parser__test__parse_for_as_loop.snap b/src/snapshots/matcha__parser__test__parse_for_as_loop.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_for_as_loop.snap rename to src/snapshots/matcha__parser__test__parse_for_as_loop.snap diff --git a/src/snapshots/green_tea__parser__test__parse_for_from_expression.snap b/src/snapshots/matcha__parser__test__parse_for_from_expression.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_for_from_expression.snap rename to src/snapshots/matcha__parser__test__parse_for_from_expression.snap diff --git a/src/snapshots/green_tea__parser__test__parse_for_loop.snap b/src/snapshots/matcha__parser__test__parse_for_loop.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_for_loop.snap rename to src/snapshots/matcha__parser__test__parse_for_loop.snap diff --git a/src/snapshots/green_tea__parser__test__parse_for_loop_with_single_identifier.snap b/src/snapshots/matcha__parser__test__parse_for_loop_with_single_identifier.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_for_loop_with_single_identifier.snap rename to src/snapshots/matcha__parser__test__parse_for_loop_with_single_identifier.snap diff --git a/src/snapshots/green_tea__parser__test__parse_gleam_expression.snap b/src/snapshots/matcha__parser__test__parse_gleam_expression.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_gleam_expression.snap rename to src/snapshots/matcha__parser__test__parse_gleam_expression.snap diff --git a/src/snapshots/green_tea__parser__test__parse_identifier.snap b/src/snapshots/matcha__parser__test__parse_identifier.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_identifier.snap rename to src/snapshots/matcha__parser__test__parse_identifier.snap diff --git a/src/snapshots/green_tea__parser__test__parse_if_comparison.snap b/src/snapshots/matcha__parser__test__parse_if_comparison.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_if_comparison.snap rename to src/snapshots/matcha__parser__test__parse_if_comparison.snap diff --git a/src/snapshots/green_tea__parser__test__parse_if_else_statement.snap b/src/snapshots/matcha__parser__test__parse_if_else_statement.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_if_else_statement.snap rename to src/snapshots/matcha__parser__test__parse_if_else_statement.snap diff --git a/src/snapshots/green_tea__parser__test__parse_if_statement.snap b/src/snapshots/matcha__parser__test__parse_if_statement.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_if_statement.snap rename to src/snapshots/matcha__parser__test__parse_if_statement.snap diff --git a/src/snapshots/green_tea__parser__test__parse_import.snap b/src/snapshots/matcha__parser__test__parse_import.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_import.snap rename to src/snapshots/matcha__parser__test__parse_import.snap diff --git a/src/snapshots/green_tea__parser__test__parse_nested_if_statements.snap b/src/snapshots/matcha__parser__test__parse_nested_if_statements.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_nested_if_statements.snap rename to src/snapshots/matcha__parser__test__parse_nested_if_statements.snap diff --git a/src/snapshots/green_tea__parser__test__parse_pure_text.snap b/src/snapshots/matcha__parser__test__parse_pure_text.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_pure_text.snap rename to src/snapshots/matcha__parser__test__parse_pure_text.snap diff --git a/src/snapshots/green_tea__parser__test__parse_single_parens.snap b/src/snapshots/matcha__parser__test__parse_single_parens.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_single_parens.snap rename to src/snapshots/matcha__parser__test__parse_single_parens.snap diff --git a/src/snapshots/green_tea__parser__test__parse_with.snap b/src/snapshots/matcha__parser__test__parse_with.snap similarity index 100% rename from src/snapshots/green_tea__parser__test__parse_with.snap rename to src/snapshots/matcha__parser__test__parse_with.snap diff --git a/src/snapshots/green_tea__renderer__test__render_builder_block.snap b/src/snapshots/matcha__renderer__test__render_builder_block.snap similarity index 91% rename from src/snapshots/green_tea__renderer__test__render_builder_block.snap rename to src/snapshots/matcha__renderer__test__render_builder_block.snap index 3d791ae..6aeb73e 100644 --- a/src/snapshots/green_tea__renderer__test__render_builder_block.snap +++ b/src/snapshots/matcha__renderer__test__render_builder_block.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> with name as StringBuilder\nHello {[ name ]}, good to meet you" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_builder_expression.snap b/src/snapshots/matcha__renderer__test__render_builder_expression.snap similarity index 91% rename from src/snapshots/green_tea__renderer__test__render_builder_expression.snap rename to src/snapshots/matcha__renderer__test__render_builder_expression.snap index e933c1a..b7e70a6 100644 --- a/src/snapshots/green_tea__renderer__test__render_builder_expression.snap +++ b/src/snapshots/matcha__renderer__test__render_builder_expression.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "Hello {[ string_builder.from_strings([\"Anna\", \" and \", \"Bob\"]) ]}, good to meet you" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_dot_access.snap b/src/snapshots/matcha__renderer__test__render_dot_access.snap similarity index 92% rename from src/snapshots/green_tea__renderer__test__render_dot_access.snap rename to src/snapshots/matcha__renderer__test__render_dot_access.snap index eb95313..f7ef57d 100644 --- a/src/snapshots/green_tea__renderer__test__render_dot_access.snap +++ b/src/snapshots/matcha__renderer__test__render_dot_access.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> with user as MyUser\nHello{% if user.is_admin %} Admin{% endif %}" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_empty_if_statement.snap b/src/snapshots/matcha__renderer__test__render_empty_if_statement.snap similarity index 91% rename from src/snapshots/green_tea__renderer__test__render_empty_if_statement.snap rename to src/snapshots/matcha__renderer__test__render_empty_if_statement.snap index ae8e20f..6358770 100644 --- a/src/snapshots/green_tea__renderer__test__render_empty_if_statement.snap +++ b/src/snapshots/matcha__renderer__test__render_empty_if_statement.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> with is_user as Bool\nHello {% if is_user %}{% endif %}" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_for_as_loop.snap b/src/snapshots/matcha__renderer__test__render_for_as_loop.snap similarity index 93% rename from src/snapshots/green_tea__renderer__test__render_for_as_loop.snap rename to src/snapshots/matcha__renderer__test__render_for_as_loop.snap index 054717c..e9cd911 100644 --- a/src/snapshots/green_tea__renderer__test__render_for_as_loop.snap +++ b/src/snapshots/matcha__renderer__test__render_for_as_loop.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> with list as List(Item)\nHello,{% for item as Item in list %} to {{ item }} and {% endfor %} everyone else" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_for_from_expression.snap b/src/snapshots/matcha__renderer__test__render_for_from_expression.snap similarity index 91% rename from src/snapshots/green_tea__renderer__test__render_for_from_expression.snap rename to src/snapshots/matcha__renderer__test__render_for_from_expression.snap index a3db862..bad2ead 100644 --- a/src/snapshots/green_tea__renderer__test__render_for_from_expression.snap +++ b/src/snapshots/matcha__renderer__test__render_for_from_expression.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "Hello {% for item as Item in list.take(list, 2) %}{{ item }}{% endfor %}" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_for_loop.snap b/src/snapshots/matcha__renderer__test__render_for_loop.snap similarity index 93% rename from src/snapshots/green_tea__renderer__test__render_for_loop.snap rename to src/snapshots/matcha__renderer__test__render_for_loop.snap index 879853f..a2ccafa 100644 --- a/src/snapshots/green_tea__renderer__test__render_for_loop.snap +++ b/src/snapshots/matcha__renderer__test__render_for_loop.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> with list as List(String)\nHello,{% for item in list %} to {{ item }} and {% endfor %} everyone else" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_gleam_expression.snap b/src/snapshots/matcha__renderer__test__render_gleam_expression.snap similarity index 91% rename from src/snapshots/green_tea__renderer__test__render_gleam_expression.snap rename to src/snapshots/matcha__renderer__test__render_gleam_expression.snap index 93453d7..8281b78 100644 --- a/src/snapshots/green_tea__renderer__test__render_gleam_expression.snap +++ b/src/snapshots/matcha__renderer__test__render_gleam_expression.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> import gleam/string\nHello {{ string.uppercase(name) }}, good to meet you" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_identifier.snap b/src/snapshots/matcha__renderer__test__render_identifier.snap similarity index 91% rename from src/snapshots/green_tea__renderer__test__render_identifier.snap rename to src/snapshots/matcha__renderer__test__render_identifier.snap index 6ed3d02..2b3ac1d 100644 --- a/src/snapshots/green_tea__renderer__test__render_identifier.snap +++ b/src/snapshots/matcha__renderer__test__render_identifier.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> with name as String\nHello {{ name }}, good to meet you" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_if_comparison.snap b/src/snapshots/matcha__renderer__test__render_if_comparison.snap similarity index 91% rename from src/snapshots/green_tea__renderer__test__render_if_comparison.snap rename to src/snapshots/matcha__renderer__test__render_if_comparison.snap index d935b25..3219e7d 100644 --- a/src/snapshots/green_tea__renderer__test__render_if_comparison.snap +++ b/src/snapshots/matcha__renderer__test__render_if_comparison.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "Hello {% if items != [] %}Some items{% endif %}" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_if_else_statement.snap b/src/snapshots/matcha__renderer__test__render_if_else_statement.snap similarity index 93% rename from src/snapshots/green_tea__renderer__test__render_if_else_statement.snap rename to src/snapshots/matcha__renderer__test__render_if_else_statement.snap index f17cdf8..e9ae22f 100644 --- a/src/snapshots/green_tea__renderer__test__render_if_else_statement.snap +++ b/src/snapshots/matcha__renderer__test__render_if_else_statement.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> with is_user as Bool\nHello {% if is_user %}User{% else %}Unknown{% endif %}" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_if_statement.snap b/src/snapshots/matcha__renderer__test__render_if_statement.snap similarity index 92% rename from src/snapshots/green_tea__renderer__test__render_if_statement.snap rename to src/snapshots/matcha__renderer__test__render_if_statement.snap index adf2344..9e6ba58 100644 --- a/src/snapshots/green_tea__renderer__test__render_if_statement.snap +++ b/src/snapshots/matcha__renderer__test__render_if_statement.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> with is_user as Bool\nHello {% if is_user %}User{% endif %}" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_import.snap b/src/snapshots/matcha__renderer__test__render_import.snap similarity index 89% rename from src/snapshots/green_tea__renderer__test__render_import.snap rename to src/snapshots/matcha__renderer__test__render_import.snap index 774dc0b..79a5539 100644 --- a/src/snapshots/green_tea__renderer__test__render_import.snap +++ b/src/snapshots/matcha__renderer__test__render_import.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> import user.{User}\n{> with name as String\n{{ name }}" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_import_and_with.snap b/src/snapshots/matcha__renderer__test__render_import_and_with.snap similarity index 89% rename from src/snapshots/green_tea__renderer__test__render_import_and_with.snap rename to src/snapshots/matcha__renderer__test__render_import_and_with.snap index 1242ef2..1f6854d 100644 --- a/src/snapshots/green_tea__renderer__test__render_import_and_with.snap +++ b/src/snapshots/matcha__renderer__test__render_import_and_with.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> import user.{User}\n{> with user as User\n{{ user }}" --- -// DO NOT EDIT: Code generated by green-tea from -test- +// DO NOT EDIT: Code generated by matcha from -test- import gleam/string_builder.{StringBuilder} import gleam/list diff --git a/src/snapshots/green_tea__renderer__test__render_multiline.snap b/src/snapshots/matcha__renderer__test__render_multiline.snap similarity index 93% rename from src/snapshots/green_tea__renderer__test__render_multiline.snap rename to src/snapshots/matcha__renderer__test__render_multiline.snap index b616b8c..df545d8 100644 --- a/src/snapshots/green_tea__renderer__test__render_multiline.snap +++ b/src/snapshots/matcha__renderer__test__render_multiline.snap @@ -2,7 +2,7 @@ source: src/renderer.rs expression: "{> with my_list as List(String)\n