Skip to content

Commit f168e33

Browse files
Copilot0xrinegade
andcommitted
Fix rustfmt and clippy issues
Co-authored-by: 0xrinegade <[email protected]>
1 parent 2a6ee11 commit f168e33

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

src/utils/solana_rpc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
use anyhow::Result;
77
use serde::{Deserialize, Serialize};
88
use solana_client::rpc_client::RpcClient;
9-
use solana_sdk::clock::Slot;
109
use solana_commitment_config::CommitmentConfig;
10+
use solana_sdk::clock::Slot;
1111
use std::time::Duration;
1212
use tokio::time::{interval, sleep};
1313

tests/e2e/examples.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn example_test_with_assert_cmd() {
4646
#[serial]
4747
fn example_test_with_mock_server() {
4848
setup_test_environment();
49-
49+
5050
// Create a mock server
5151
let mut mock_server = MockServer::new();
5252

@@ -73,7 +73,7 @@ fn example_test_with_mock_server() {
7373
#[serial]
7474
fn example_test_with_custom_config() {
7575
setup_test_environment();
76-
76+
7777
// Create a temporary directory and config file
7878
let temp_dir = create_temp_dir();
7979
let config_path = create_mock_config(&temp_dir);

tests/e2e/node_tests.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fn test_nodes_get_invalid() {
9595
#[serial]
9696
fn test_examples_command() {
9797
setup_test_environment();
98-
98+
9999
// Test the examples command
100100
let output = run_osvm_command_string(&["examples"]);
101101

@@ -119,7 +119,7 @@ fn test_examples_command() {
119119
#[serial]
120120
fn test_verbose_output() {
121121
setup_test_environment();
122-
122+
123123
// Test with normal output (without verbose flag)
124124
let output = run_osvm_command_string(&["node"]);
125125

@@ -140,7 +140,7 @@ fn test_verbose_output() {
140140
#[serial]
141141
fn test_no_color_flag() {
142142
setup_test_environment();
143-
143+
144144
// Test with no-color flag
145145
let output = run_osvm_command_string(&["--no-color", "svm", "list"]);
146146

@@ -152,7 +152,7 @@ fn test_no_color_flag() {
152152
#[serial]
153153
fn test_with_custom_config() {
154154
setup_test_environment();
155-
155+
156156
// Create a temporary directory and config file
157157
let temp_dir = create_temp_dir();
158158
let config_path = create_mock_config(&temp_dir);
@@ -183,7 +183,7 @@ fn test_help_command() {
183183
#[serial]
184184
fn test_new_feature() {
185185
setup_test_environment();
186-
186+
187187
// Test the new feature
188188
let output = run_osvm_command_string(&["new_feature_command"]);
189189

tests/e2e/svm_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ fn test_svm_dashboard() {
9696
#[serial]
9797
fn test_svm_with_config_file() {
9898
setup_test_environment();
99-
99+
100100
// Create a temporary directory and config file
101101
let temp_dir = create_temp_dir();
102102
let config_path = create_mock_config(&temp_dir);
@@ -112,7 +112,7 @@ fn test_svm_with_config_file() {
112112
#[serial]
113113
fn test_svm_with_url() {
114114
setup_test_environment();
115-
115+
116116
// Create a mock server
117117
let mut mock_server = MockServer::new();
118118
let _mock = mock_server.mock_svm_list();
@@ -132,7 +132,7 @@ fn test_svm_with_url() {
132132
#[test]
133133
fn test_svm_install() {
134134
setup_test_environment();
135-
135+
136136
let output = run_osvm_command_string(&["svm", "install", "solana", "--host", "user@host"]);
137137

138138
// Verify the output contains expected installation message

0 commit comments

Comments
 (0)