diff --git a/examples/rust/rust-toolchain b/examples/rust/rust-toolchain index a50908ca..832e9afb 100644 --- a/examples/rust/rust-toolchain +++ b/examples/rust/rust-toolchain @@ -1 +1 @@ -1.42.0 +1.70.0 diff --git a/tests/test_rust.py b/tests/test_rust.py index 932f03cb..b8a4c4bc 100644 --- a/tests/test_rust.py +++ b/tests/test_rust.py @@ -13,7 +13,7 @@ class TestRustListDependencies(unittest.TestCase): def test_separate_crates(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [workspace] @@ -124,7 +124,7 @@ def sub_crate_src_path(crate_name: str) -> pathlib.Path: def test_separate_workspaces(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [workspace] @@ -193,7 +193,7 @@ def test_separate_workspaces(self) -> None: def test_gathered_source_files(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [workspace] @@ -307,7 +307,7 @@ def sub_lib_src_path(crate_name: str) -> pathlib.Path: def test_mono_package(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [package] @@ -348,7 +348,7 @@ def test_mono_package(self) -> None: def test_external_crates(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [package] @@ -375,7 +375,7 @@ def test_external_crates(self) -> None: def test_build_dependencies(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [workspace] @@ -441,7 +441,7 @@ class TestRustVerification(unittest.TestCase): def test_success(self) -> None: files = { pathlib.Path('rust-toolchain'): textwrap.dedent("""\ - 1.42.0 + 1.70.0 """).encode(), pathlib.Path('Cargo.toml'): textwrap.dedent("""\ [package]