Skip to content

Commit 476e5d5

Browse files
author
Terraphim CI
committed
chore: formatting fixes - import ordering and line breaks
1 parent 359c01f commit 476e5d5

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

crates/terraphim_rlm/src/executor/mock.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,8 @@ impl super::ExecutionEnvironment for MockExecutor {
486486

487487
#[cfg(test)]
488488
mod tests {
489-
use super::*;
490489
use super::super::ExecutionEnvironment;
490+
use super::*;
491491

492492
#[tokio::test]
493493
async fn test_mock_executor_health_check() {
@@ -578,7 +578,8 @@ mod tests {
578578
// Don't initialize
579579

580580
let ctx = ExecutionContext::default();
581-
let result: Result<ExecutionResult, RlmError> = executor.execute_code("print('test')", &ctx).await;
581+
let result: Result<ExecutionResult, RlmError> =
582+
executor.execute_code("print('test')", &ctx).await;
582583

583584
assert!(result.is_err());
584585
assert!(matches!(

crates/terraphim_settings/test_settings/settings.toml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,22 @@ server_hostname = '127.0.0.1:8000'
22
api_endpoint = 'http://localhost:8000/api'
33
initialized = true
44
default_data_path = '/tmp/terraphim_test'
5+
[profiles.sled]
6+
datadir = '/tmp/opendal/sled'
7+
type = 'sled'
58

69
[profiles.dash]
7-
type = 'dashmap'
810
root = '/tmp/dashmaptest'
9-
10-
[profiles.rock]
11-
type = 'rocksdb'
12-
datadir = '/tmp/opendal/rocksdb'
11+
type = 'dashmap'
1312

1413
[profiles.s3]
14+
endpoint = 'http://rpi4node3:8333/'
15+
region = 'us-west-1'
1516
type = 's3'
1617
bucket = 'test'
1718
access_key_id = 'test_key'
1819
secret_access_key = 'test_secret'
19-
endpoint = 'http://rpi4node3:8333/'
20-
region = 'us-west-1'
2120

22-
[profiles.sled]
23-
type = 'sled'
24-
datadir = '/tmp/opendal/sled'
21+
[profiles.rock]
22+
type = 'rocksdb'
23+
datadir = '/tmp/opendal/rocksdb'

0 commit comments

Comments
 (0)