Skip to content

Commit 4d9f815

Browse files
committed
chore: rename test contract test
1 parent 905add9 commit 4d9f815

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

tests-expanded/test_associated_type_chained_tests.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,29 +1442,29 @@ mod test {
14421442
use soroban_sdk::{vec, Env};
14431443
extern crate test;
14441444
#[cfg(test)]
1445-
#[rustc_test_marker = "test::test_associated_type_retval"]
1445+
#[rustc_test_marker = "test::test_associated_type_chained"]
14461446
#[doc(hidden)]
1447-
pub const test_associated_type_retval: test::TestDescAndFn = test::TestDescAndFn {
1447+
pub const test_associated_type_chained: test::TestDescAndFn = test::TestDescAndFn {
14481448
desc: test::TestDesc {
1449-
name: test::StaticTestName("test::test_associated_type_retval"),
1449+
name: test::StaticTestName("test::test_associated_type_chained"),
14501450
ignore: false,
14511451
ignore_message: ::core::option::Option::None,
14521452
source_file: "tests/associated_type_chained/src/lib.rs",
14531453
start_line: 80usize,
14541454
start_col: 8usize,
14551455
end_line: 80usize,
1456-
end_col: 35usize,
1456+
end_col: 36usize,
14571457
compile_fail: false,
14581458
no_run: false,
14591459
should_panic: test::ShouldPanic::No,
14601460
test_type: test::TestType::UnitTest,
14611461
},
14621462
testfn: test::StaticTestFn(
14631463
#[coverage(off)]
1464-
|| test::assert_test_result(test_associated_type_retval()),
1464+
|| test::assert_test_result(test_associated_type_chained()),
14651465
),
14661466
};
1467-
fn test_associated_type_retval() {
1467+
fn test_associated_type_chained() {
14681468
let e = Env::default();
14691469
let contract_id = e.register(Contract, ());
14701470
let client = ContractClient::new(&e, &contract_id);
@@ -1605,5 +1605,5 @@ mod test {
16051605
#[doc(hidden)]
16061606
pub fn main() -> () {
16071607
extern crate test;
1608-
test::test_main_static(&[&test_associated_type_retval])
1608+
test::test_main_static(&[&test_associated_type_chained])
16091609
}

tests/associated_type_chained/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ mod test {
7777
use crate::{Contract, ContractClient};
7878

7979
#[test]
80-
fn test_associated_type_retval() {
80+
fn test_associated_type_chained() {
8181
let e = Env::default();
8282
let contract_id = e.register(Contract, ());
8383
let client = ContractClient::new(&e, &contract_id);

tests/associated_type_chained/test_snapshots/test/test_associated_type_retval.1.json renamed to tests/associated_type_chained/test_snapshots/test/test_associated_type_chained.1.json

File renamed without changes.

0 commit comments

Comments
 (0)