Convert most working tests to ivecs

I tried to pay attention to what was actually being tested so, e.g. when I
test was just using a vec as a boxed thing, I converted to boxed ints, etc.

Haven't converted the macro tests yet. Not sure what to do there.
This commit is contained in:
Brian Anderson
2011-08-12 15:42:39 -07:00
parent 594c7fb0c6
commit ee7d03f7d7
56 changed files with 124 additions and 121 deletions

View File

@@ -1,5 +1,5 @@
// error-pattern: Unsatisfied precondition constraint
fn test() { let w: vec[int]; w.(5) = 0; }
fn test() { let w: [int]; w.(5) = 0; }
fn main() { test(); }