-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
63 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,20 @@ jobs: | |
if: matrix.config.kind == 'test_release' | ||
run: cargo test --release | ||
|
||
# integration test | ||
- name: Wasm integration test - Setup | ||
if: matrix.config.kind == 'test_release' | ||
run: | | ||
echo '{ "plugins": ["./target/wasm32-unknown-unknown/release/dprint_plugin_toml.wasm"] }' >> dprint.test.json | ||
- name: Wasm integration test - Run | ||
if: matrix.config.kind == 'test_release' | ||
uses: dprint/[email protected] | ||
with: | ||
config-path: dprint.test.json | ||
- name: Wasm integration test - Cleanup | ||
if: matrix.config.kind == 'test_release' | ||
run: rm dprint.test.json | ||
|
||
- name: Get tag version | ||
if: matrix.config.kind == 'test_release' && startsWith(github.ref, 'refs/tags/') | ||
id: get_tag_version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
mod builder; | ||
#[allow(clippy::module_inception)] | ||
mod configuration; | ||
mod resolve_config; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
== should format multi-line strings (only) == | ||
strings = [ | ||
""" | ||
This is | ||
a | ||
multi-line | ||
string | ||
""", | ||
'''This is | ||
a multi-line literal string | ||
|
||
|
||
''', | ||
] | ||
|
||
[expect] | ||
strings = [ | ||
""" | ||
This is | ||
a | ||
multi-line | ||
string | ||
""", | ||
'''This is | ||
a multi-line literal string | ||
|
||
|
||
''', | ||
] |