mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
c9b4db9ff7
Switch to a fixture-based testing approach, similar to apps/oxlint.
737 B
737 B
Input
Command
oxfmt --config use-tab.json config.toml
File tree
- fixtures/ <CWD>
- Cargo.lock
- config.toml
- config.toml.example
- Pipfile
- poetry.lock
- use-tab.json
Result
Exit code
0
stdout
Finished in <time> on 1 files using 1 threads.
stderr
File changes
config.toml
@@ -1,8 +1,11 @@
[package]
-name="test"
-version = "0.1.0"
-description = "A test package"
+name = "test"
+version = "0.1.0"
+description = "A test package"
[dependencies]
-foo={version="1.0"}
-bar = { version = "2.0" , features = [ "a" , "b" ] }
+foo = { version = "1.0" }
+bar = { version = "2.0", features = [
+ "a",
+ "b",
+] }