Skip to content

Commit bc70943

Browse files
authored
chore: remove formatter from canary (#14)
* chore: run formatter * chore: remove formatter from canary
1 parent 1eb5a95 commit bc70943

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/nightly-canary.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ jobs:
2727
- name: Run Noir tests
2828
run: nargo test
2929

30-
- name: Run formatter
31-
run: nargo fmt --check
32-
3330
- name: Alert on dead links
3431
uses: JasonEtco/create-an-issue@v2
3532
if: ${{ failure() }}

src/_string_tools/slice_packed_field.nr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ mod test {
689689
}
690690

691691
#[test]
692-
fn test_slice_fields_nolength() {
692+
fn test_slice_fields_nolength() {
693693
let text: [u8; 1405] = "Charlie is genius, right. He's made from a million pieces of old bubble gum. Imagine that! In the summer of 1976, on his way home from an Alice Cooper concert, Charlie started to melt onto the pavement. It was too hot in L.A., and he melted like a pink bitch. Luckily though, there was Eric Phillips, a local crocodile who dabbled in black magic. He took pity on Charlie and scraped him off the floor with a pair of fish slicers. He poured him into an antique soup ladle, and boarded his magic carpet. Destination: Alaska! Eric Phillips decided to refreeze Charlie, but in his cold-blooded reptilian haste, he refroze him into to the shape of a Hoover. Charlie wasn't fazed though, he just zoomed about the place, sucking up Inuits. Ha ha! Oh. The Inuits didn't mind; they loved it in Charlie's pink, tight warm belly pouch, and they refused to come out. Charlie said, \"I'm cool with that,\" and set fire to a posh hammer to make it official. he downside was that the Inuits suffocated immediately. It was air-tight in there. Charlie panicked and fired the tiny Inuit bullets into Eric's crocodile peepers. The green shape was frozen. After a quick drink, Charlie stole Eric Phillips's magic carpet and left for Seattle. Charlie was racked with guilt: he'd killed 50 Inuits, noone needs that. He decided to spend the rest of his life putting small hairstyles onto boots, monkey nuts, trumpets and spanners.".as_bytes();
694694
println(f"text = {text}");
695695
let mut slices: [Field; 46 + 3] = [0; 46 + 3];
@@ -712,7 +712,7 @@ fn test_slice_fields_nolength() {
712712
}
713713

714714
#[test]
715-
fn test_slice_fields() {
715+
fn test_slice_fields() {
716716
let text: [u8; 1405] = "Charlie is genius, right. He's made from a million pieces of old bubble gum. Imagine that! In the summer of 1976, on his way home from an Alice Cooper concert, Charlie started to melt onto the pavement. It was too hot in L.A., and he melted like a pink bitch. Luckily though, there was Eric Phillips, a local crocodile who dabbled in black magic. He took pity on Charlie and scraped him off the floor with a pair of fish slicers. He poured him into an antique soup ladle, and boarded his magic carpet. Destination: Alaska! Eric Phillips decided to refreeze Charlie, but in his cold-blooded reptilian haste, he refroze him into to the shape of a Hoover. Charlie wasn't fazed though, he just zoomed about the place, sucking up Inuits. Ha ha! Oh. The Inuits didn't mind; they loved it in Charlie's pink, tight warm belly pouch, and they refused to come out. Charlie said, \"I'm cool with that,\" and set fire to a posh hammer to make it official. he downside was that the Inuits suffocated immediately. It was air-tight in there. Charlie panicked and fired the tiny Inuit bullets into Eric's crocodile peepers. The green shape was frozen. After a quick drink, Charlie stole Eric Phillips's magic carpet and left for Seattle. Charlie was racked with guilt: he'd killed 50 Inuits, noone needs that. He decided to spend the rest of his life putting small hairstyles onto boots, monkey nuts, trumpets and spanners.".as_bytes();
717717
println(f"text = {text}");
718718
let mut slices: [Field; 46 + 3] = [0; 46 + 3];
@@ -780,7 +780,7 @@ fn test_slice_fields() {
780780
}
781781

782782
#[test]
783-
fn test_slice_field() {
783+
fn test_slice_field() {
784784
let input = 0xffeebbccbbaa99887766554433221100112233445566778899aabbccddeeff;
785785

786786
let input_bytes: [u8; 32] = input.to_be_bytes();

0 commit comments

Comments
 (0)