Skip to content

Commit 454455a

Browse files
committed
fix build
1 parent 4941247 commit 454455a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

binding/ios/CobraAppTest/CobraAppTestUITests/CobraAppTestUITests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ class CobraAppTestUITests: XCTestCase {
7373
}
7474
}
7575

76-
7776
func testProcessMessageStack() throws {
7877
let cobra: Cobra = try Cobra(accessKey: accessKey)
7978
cobra.delete()

binding/rust/src/cobra.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ mod tests {
377377
.expect("Pass the AccessKey in using the PV_ACCESS_KEY env variable");
378378

379379
let mut inner = CobraInner::init(
380-
&access_key.as_str(),
380+
access_key,
381381
pv_library_path()
382382
).expect("Unable to create Cobra");
383383

@@ -392,7 +392,7 @@ mod tests {
392392
assert!(err.message_stack.len() > 0);
393393
assert!(err.message_stack.len() < 8);
394394
} else {
395-
assert!(res.unwrap() == true);
395+
assert!(res.unwrap() == -1.0);
396396
}
397397
}
398398
}

0 commit comments

Comments
 (0)