Skip to content

Commit 4bb9cda

Browse files
committed
---
yaml --- r: 107451 b: refs/heads/dist-snap c: f7088ed h: refs/heads/master i: 107449: 7671f2f 107447: 219056c v: v3
1 parent e1899ac commit 4bb9cda

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 363fa51c66a5cffc5e29a59dcfafc4222b07189c
9+
refs/heads/dist-snap: f7088edc03d96872fb2b83d211969c1fe5c271d8
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/librustpkg/tests.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,9 +1894,11 @@ fn crateid_pointing_to_subdir() {
18941894
fs::mkdir_recursive(&foo_dir, io::UserRWX);
18951895
fs::mkdir_recursive(&bar_dir, io::UserRWX);
18961896
writeFile(&foo_dir.join("lib.rs"),
1897-
"#[crate_id=\"mocki.8713187.xyz/mozilla/some_repo/extras/foo\"]; pub fn f() {}");
1897+
"#[crate_id=\"mocki.8713187.xyz/mozilla/some_repo/extras/rust-foo#foo:0.0\"];" +
1898+
"pub fn f() {}");
18981899
writeFile(&bar_dir.join("lib.rs"),
1899-
"#[crate_id=\"mocki.8713187.xyz/mozilla/some_repo/extras/bar\"]; pub fn g() {}");
1900+
"#[crate_id=\"mocki.8713187.xyz/mozilla/some_repo/extras/rust-bar#bar:0.0\"];" +
1901+
"pub fn g() {}");
19001902

19011903
debug!("Creating a file in {}", workspace.display());
19021904
let testpkg_dir = workspace.join_many(["src", "testpkg-0.0"]);
@@ -2318,7 +2320,7 @@ fn find_sources_in_cwd() {
23182320
let source_dir = temp_dir.join("foo");
23192321
fs::mkdir_recursive(&source_dir, io::UserRWX);
23202322
writeFile(&source_dir.join("main.rs"),
2321-
r#"#[crate_id="foo"]; fn main() { let _x = (); }"#);
2323+
r#"#[crate_id="rust-foo#foo:0.0"]; fn main() { let _x = (); }"#);
23222324
command_line_test([~"install", ~"foo"], &source_dir);
23232325
assert_executable_exists(&source_dir.join(".rust"), "foo");
23242326
}

0 commit comments

Comments
 (0)