126 Commits

Author SHA1 Message Date
Eric Huss
ef0b47769b Cleanup: Remove unnecessary borrows. 2019-03-26 18:09:56 -07:00
Eh2406
ed9386bd24 Proptest 0.9.1
This is a rework of #6636 now possible do to the change in testing from #6748
2019-03-16 08:00:39 -04:00
Eh2406
ed09ea2d68 disable back jumping on pub dep error 2019-02-28 17:32:50 -05:00
Eh2406
38c5819ab0 add a harder test. 2019-02-28 17:32:48 -05:00
Eh2406
363105f950 minimized an example 2019-02-28 17:32:29 -05:00
bors
131823ad4b Auto merge of #6614 - claudijd:https_all_the_things, r=ehuss
HTTPS all the things

Noticed that we still have a bunch of HTTP links, which could present mild MiTM risks that we can totally remove.

One short coming of this was:

cargo/src/etc/_cargo:13 "http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Functions" of which does not have an HTTPS equivalent yet.
2019-02-27 22:21:16 +00:00
Jonathan Claudius
46b2b78754
Merge branch 'master' into https_all_the_things 2019-02-22 14:21:53 -05:00
Andy Russell
f5723e51a1
convert unused doc comments to regular comments 2019-02-22 13:56:19 -05:00
Dale Wijnand
fae4dcea53
Fix some typos in resolver tests 2019-02-19 16:56:37 +00:00
Jonathan Claudius
0c3851c017
HTTPS all the things 2019-01-30 15:34:37 -05:00
Eh2406
d9e63604f3 additional cases are added by more tests, so dont need the note 2019-01-25 12:07:41 -05:00
Eh2406
0538507593 add an additional fuzz test 2019-01-24 17:41:47 -05:00
Eh2406
8d13988dbf gen reverse alphabetical graphs 2019-01-24 15:56:19 -05:00
Eh2406
1c1383c763 Don't shrink if not tty 2019-01-24 12:34:43 -05:00
Alex Crichton
b8b7faee50 Run cargo fix --edition-idioms and fixup output
This gets Cargo passing the `--edition-idioms` lints and more down the
road of the 2018 edition!
2018-12-11 05:45:46 -08:00
Alex Crichton
fecb724643 Format with cargo fmt 2018-12-08 03:19:47 -08:00
Dale Wijnand
04ddd4d0fc
Upgrade to Rust 2018 2018-12-06 20:18:35 +01:00
Eh2406
2814ca2b19 fuzzer found a bad case 2018-12-01 17:38:35 -05:00
Eh2406
dae87a2624 PackageId is copy, clippy thinks we dont need &PackageId or PackageId.clone() 2018-11-27 17:43:23 -05:00
Eh2406
4c8ab5e2eb remove the O(n) lookup 2018-11-07 22:52:37 -05:00
Eh2406
1e90c0a9cc a more pure version of the test 2018-11-07 22:27:10 -05:00
Eh2406
04e1564481 add a test that defets iter.rev 2018-11-07 22:03:32 -05:00
Eh2406
7ca46cccbd move note to let it build 2018-11-07 10:41:37 -05:00
Eh2406
90a54dd9ca document that fuss tests are flaky, and how to report. 2018-11-07 10:27:09 -05:00
Eh2406
20f55af20f test that minimal-versions errors on the same input as normal resolution 2018-11-01 22:06:16 -04:00
Eh2406
9955f82162 the simplest kind of dep is a "*", so change the default 2018-11-01 21:19:27 -04:00
Eh2406
c990908dd4 faster test by unpublishing all at once 2018-10-11 15:49:48 -04:00
Eh2406
2c2b7360e3 Test that the generator makes registries that include multiple versions of the same library 2018-10-11 15:48:08 -04:00
Eh2406
1fb8931355 assert_contains -> assert_same 2018-10-11 15:45:21 -04:00
Eh2406
556908f96a validate some basic properties of a valid resolve 2018-10-06 18:07:36 -04:00
Alex Crichton
20cfb41e42 Try to improve "version not found" error
This commit tweaks the wording for when versions aren't found in a
source, notably including more location information other than the
source id but rather also taking into account replaced sources and such.
It's hoped that this gives more information to make it a bit more clear
what's going on.

Closes #6111
2018-10-02 13:18:35 -07:00
Eh2406
fe7bb39242 move helper functions to support 2018-09-26 16:49:51 -04:00
Eh2406
499bbb1ace make names more consistent between local variables and BacktrackFrame 2018-09-26 15:52:08 -04:00
Eh2406
a4da525b92 In theory shrinkage should be 2, but in practice we get better trees with a larger value. 2018-09-24 18:00:56 -04:00
Eh2406
6763eded58 proptest 0.8.7 has a better ci_no_shrink 2018-09-24 12:17:16 -04:00
Eh2406
3e7192ea5d pretty print the registry made by proptest 2018-09-21 16:22:31 -04:00
Eh2406
40d9de46d6 Merge remote-tracking branch 'origin/master' into proptest 2018-09-19 22:04:11 -04:00
Eh2406
6bd2540f53 check each registry more thoroughly 2018-09-19 19:47:55 -04:00
Eh2406
7ad9f5e964 add a test to test the tester 2018-09-19 19:41:45 -04:00
Eh2406
2015191120 edge list is a much cleaner approach 2018-09-19 19:40:05 -04:00
Eh2406
d8e19fb01f pull the has bad dep before prop_flat_map 2018-09-17 13:51:40 -04:00
Eh2406
1b15b15952 give intermediate steps names 2018-09-16 22:41:15 -04:00
Eh2406
9b2295d11f cargo fmt 2018-09-14 17:39:05 -04:00
Eh2406
8707fcbe62 small clean up 2018-09-14 16:02:38 -04:00
Eh2406
079ac47421 rename deps 2018-09-14 15:48:35 -04:00
Eh2406
fbee2e7af6 remove debs leading to remove now unused crates 2018-09-14 15:35:36 -04:00
Eh2406
9051dbfd65 a new one to minimized 2018-09-14 15:25:51 -04:00
Eh2406
2f21280b20 clean up commas 2018-09-14 13:08:53 -04:00
Eh2406
c77f60de54 rename deps 2018-09-14 11:49:18 -04:00
Eh2406
70bfd7361c remove debs leading to remove now unused crates 2018-09-14 11:14:51 -04:00