Remove a fixme
I don't think it's relevant, a warning is more appropriate. Easier to just maintain the order. Closes #4681
This commit is contained in:
parent
4bca7fdf9b
commit
cb6451c5af
1 changed files with 3 additions and 1 deletions
|
|
@ -1522,6 +1522,9 @@ mod tests {
|
|||
optmulti("l")
|
||||
];
|
||||
|
||||
// short and verbose should always be in the same order. if they
|
||||
// aren't the test will fail (and in mysterious ways)
|
||||
|
||||
let verbose = ~[
|
||||
groups::reqopt("b", "banana", "Desc", "VAL"),
|
||||
groups::optopt("a", "apple", "Desc", "VAL"),
|
||||
|
|
@ -1533,7 +1536,6 @@ mod tests {
|
|||
let sample_args = ~[~"--kiwi", ~"15", ~"--apple", ~"1", ~"k",
|
||||
~"-p", ~"16", ~"l", ~"35"];
|
||||
|
||||
// FIXME #4681: sort options here?
|
||||
assert!(getopts(sample_args, short)
|
||||
== groups::getopts(sample_args, verbose));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue