about summary refs log tree commit diff
path: root/src/test/run-fail/vec-underrun.rs
AgeCommit message (Collapse)AuthorLines
2013-10-15fix bounds checking failure messageDaniel Micay-21/+0
casting the `uint` to an `int` can result in printing high values as negative intege
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-2/+2
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-2/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-2/+2
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-09-30When a vec/str bounds check fails, include the bad index and the length of ↵Gareth Daniel Smith-1/+1
the str/vec in the fail message.
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-1/+1
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-1/+1
2011-09-11Begin valgrinding some run-fail tests that unwind correctlyBrian Anderson-1/+0
Issue #236
2011-08-20ReformatBrian Anderson-3/+3
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-12Convert most working tests to ivecsBrian Anderson-1/+1
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.
2011-08-10Begin valgrinding run-fail testsBrian Anderson-3/+1
Introduce a temporary no-valgrind directive for the few that aren't clean
2011-07-27Reformat for new syntaxMarijn Haverbeke-2/+2
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-7/+10
2011-05-24test: Fix run-fail testing and bring tests up to dateBrian Anderson-3/+0
A typo in the Makefile was causing these to not run. Happily, a lot of these tests pass, so un-xfailed.
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-1/+1
2011-05-12Fix mistaken replacements in error-pattern comments in testsMarijn Haverbeke-1/+1
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-1/+1
This should be a snapshot transition.
2011-05-03Assume xfail-stage0 implies stage1 and stage2 in tests, for now.Graydon Hoare-0/+2
2011-05-02Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton-2/+2
the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02Revert "Use different syntax for checks that matter to typestate"Graydon Hoare-2/+2
This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
2011-05-02Use different syntax for checks that matter to typestateTim Chevalier-2/+2
This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
2011-03-25Switch xfail system to use comments embedded in source files.Graydon Hoare-0/+1
2010-06-23Populate tree.Graydon Hoare-0/+11