Skip to content

Commit

Permalink
chore: workspace cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
arendjr committed Feb 24, 2025
1 parent e8b32d5 commit 7dcf53b
Show file tree
Hide file tree
Showing 11 changed files with 582 additions and 584 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ serde_ini = "0.2.0"
serde_json = "1.0.139"
similar = "2.7.0"
smallvec = { version = "1.13.2", features = ["union", "const_new", "serde"] }
static_assertions = "1.1"
syn = "1.0.109"
termcolor = "1.4.1"
terminal_size = "0.4.1"
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_json_value/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ biome_rowan = { workspace = true }
indexmap = { workspace = true }
oxc_resolver = { workspace = true, optional = true }
rustc-hash = { workspace = true }
static_assertions = "1.1.0"
static_assertions = { workspace = true }

[features]
oxc_resolver = ["dep:oxc_resolver"]
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_package/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ node-semver = "2.1.0"
oxc_resolver = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true }
static_assertions = "1.1.0"
static_assertions = { workspace = true }

[dev-dependencies]
insta = { workspace = true }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
source: crates/biome_service/tests/workspace.rs
source: crates/biome_service/src/workspace.tests.rs
expression: result.diagnostics
---
[
Expand Down
9 changes: 3 additions & 6 deletions crates/biome_service/src/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1383,9 +1383,6 @@ impl<W: Workspace + ?Sized> Drop for FileGuard<'_, W> {
}
}

#[test]
fn test_order() {
for items in FileFeaturesResult::PROTECTED_FILES.windows(2) {
assert!(items[0] < items[1], "{} < {}", items[0], items[1]);
}
}
#[cfg(test)]
#[path = "workspace.tests.rs"]
mod tests;
Loading

0 comments on commit 7dcf53b

Please sign in to comment.