Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ coverage:

# Lint all packages with all features
lint:
cargo clippy --all-features
cargo clippy --target wasm32-unknown-unknown -p quilt-sync-ui --all-features
cargo clippy --all-targets --all-features
cargo clippy --target wasm32-unknown-unknown -p quilt-sync-ui --all-targets --all-features

# Run QuiltSync frontend tests in headless Firefox
test-frontend:
Expand Down
6 changes: 4 additions & 2 deletions quilt-sync/src-tauri/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3241,8 +3241,10 @@ mod tests {

#[test]
fn autosync_settings_data_preserves_close_to_tray() {
let mut s = AutosyncSettings::default();
s.close_to_tray = true;
let s = AutosyncSettings {
close_to_tray: true,
..Default::default()
};
let data = AutosyncSettingsData::from(s);
assert!(data.close_to_tray);
}
Expand Down