Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
shramee committed Mar 15, 2024
1 parent 4afa59f commit 569026a
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion corelib/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ version = 1

[[package]]
name = "core"
version = "2.4.1"
version = "2.5.3"
1 change: 0 additions & 1 deletion exercises/arrays/arrays3.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ fn test_arrays3() {
// You should not change the index accessed.
a.at(2);
}

2 changes: 1 addition & 1 deletion exercises/dict/dict2.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
fn multiply_element_by_10(ref dict: Felt252Dict<u32>, n: usize) {
//TODO : make a function that multiplies the elements stored at the indexes 0 to n of a dictionary by 10


}

// Don't change anything in the test
Expand Down
2 changes: 1 addition & 1 deletion exercises/enums/enums3.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Address all the TODOs to make the tests pass!
// Execute `starklings hint enums3` or use the `hint` watch subcommand for a hint.

// I AM NOT DONE print
// I AM NOT DONE

use debug::PrintTrait;

Expand Down
1 change: 0 additions & 1 deletion exercises/if/if1.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ mod tests {
assert(42 == bigger(32, 42), '42 bigger than 32');
}
}

2 changes: 1 addition & 1 deletion exercises/if/if2.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ mod tests {
fn default_to_baz() {
assert(foo_if_fizz('literally anything') == 'baz', 'anything else returns baz');
}
}
}
1 change: 0 additions & 1 deletion exercises/intro/intro2.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
// This exercise won't compile... Can you make it compile?


fn main(){}
2 changes: 1 addition & 1 deletion exercises/loops/loops2.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ fn test_loop() {
};

assert(result == 5, 'result should be 5');
}
}
1 change: 0 additions & 1 deletion exercises/modules/modules1.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ mod tests {
assert(order_result == 'order_taken', 'Order not taken');
}
}

1 change: 0 additions & 1 deletion exercises/quizs/quizs1.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ fn verify_test() {
assert(82 == price3, 'Incorrect price');
assert(130 == price4, 'Incorrect price');
}

1 change: 0 additions & 1 deletion exercises/starknet/basics/starknet4.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,3 @@ mod test {
contract0
}
}

2 changes: 1 addition & 1 deletion exercises/structs/structs3.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ fn calculate_transport_fees() {

assert(package.get_fees(cents_per_gram) == 4500, 'Wrong fees');
}

1 change: 0 additions & 1 deletion exercises/traits/traits3.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,3 @@ fn test_traits3() {
assert(dog.make_noise() == 'woof', 'Wrong noise');
assert(dog.get_distance() == 1, 'Wrong distance');
}

2 changes: 1 addition & 1 deletion exercises/variables/variables1.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Make me compile!
// Execute `starklings hint variables1` or use the `hint` watch subcommand for a hint.

// I AM NOT DONE
// I AM NOT DONE

use debug::PrintTrait;

Expand Down

0 comments on commit 569026a

Please sign in to comment.