Compare commits
2 Commits
83cf1cad62
...
5660a2f7a8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5660a2f7a8 | ||
|
|
491319a6d5 |
@@ -48,7 +48,7 @@ mod tests {
|
|||||||
|
|
||||||
// You should be seeing this error when trying to run this exercise:
|
// You should be seeing this error when trying to run this exercise:
|
||||||
//
|
//
|
||||||
// error[E0616]: field `description` of struct `encapsulation::ticket::Ticket` is private
|
// error[E0616]: field `description` of struct `Ticket` is private
|
||||||
// |
|
// |
|
||||||
// | assert_eq!(ticket.description, "A description");
|
// | assert_eq!(ticket.description, "A description");
|
||||||
// | ^^^^^^^^^^^^^^^^^^
|
// | ^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn thirthieth() {
|
fn thirtieth() {
|
||||||
assert_eq!(fibonacci(30), 832040);
|
assert_eq!(fibonacci(30), 832040);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user