about summary refs log tree commit diff
path: root/library/alloc/tests
AgeCommit message (Collapse)AuthorLines
2020-09-03include in-place .zip() in testThe8472-1/+8
2020-09-03additional specializations testsThe8472-0/+22
2020-09-03in-place collect for Vec. Box<[]> and BinaryHeap IntoIter and some adaptersThe8472-0/+44
2020-09-03Remove a number of vec UI tests, make them unit tests in the alloc libraryRune Tynan-0/+53
2020-08-27Add PartialEq impls for Vec <-> sliceMatt Brubeck-1/+2
2020-08-24Use translated variable for test stringIvan Tham-2/+2
Test should be educative, added english translation and pronounciation.
2020-08-14Move btree unit test to their native, privileged locationStein Somers-2184/+20
2020-08-12Put panic code path from `copy_from_slice` into cold functionLukas Kalbertodt-2/+2
The previous `assert_eq` generated quite some code, which is especially problematic when this call is inlined. This commit also slightly improves the panic message from: assertion failed: `(left == right)` left: `3`, right: `2`: destination and source slices have different lengths ...to: source slice length (2) does not match destination slice length (3)
2020-08-07Add unit tests for new `BTreeMap::into_{keys,values}` methodsNazım Can Altınova-0/+25
2020-08-04Replace `Memoryblock` with `NonNull<[u8]>`Tim Diekmann-3/+7
2020-08-03Merge branch 'master' into remove-in-place-allocTim Diekmann-3/+28
2020-08-02Rollup merge of #75059 - shengsheng:typos, r=Dylan-DPCManish Goregaokar-1/+1
fix typos Fix common misspellings with https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines
2020-08-02fix typosliuzhenyu-1/+1
2020-07-31expand commentsRalf Jung-1/+1
2020-07-31reduce slice::panic_safe test size further in MiriRalf Jung-1/+1
2020-07-28Remove in-place allocation and revert to separate methods for zeroed allocationsTim Diekmann-8/+2
Fix docs
2020-07-28Add str::[r]split_onceAleksey Kladov-0/+25
This is useful for quick&dirty parsing of key: value config pairs
2020-07-27mv std libs to library/mark-0/+11736