Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Add a new submodule for running rustfix on #29

Closed
wants to merge 0 commits into from

Conversation

oli-obk
Copy link
Collaborator

@oli-obk oli-obk commented May 16, 2017

No description provided.

Copy link
Member

@killercup killercup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'Unexpected changes applied by rustfix'

😞

fixture_path.join(path.trim())
} else {
fixture_path.clone()
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, we now have files that tell us which directory to look into for applying fixtures? Why not allow multiple sub paths to check? I'd probably start refactoring the whole nested for loop business with a bunch of flat_maps now going from crate folders to tests.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea that's the next step :)

/// returns the high 12 bits for the edns portion of the response code
pub fn high(&self) {
- (u16::from(*self) & 0x0FF0) >> 4;
+ (u16::from(*self) & 0x0FF0);4;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@oli-obk
Copy link
Collaborator Author

oli-obk commented May 16, 2017

I have no clue how the tests are failing... they work locally...

@killercup
Copy link
Member

I this because of different versions of diff maybe? (If you're using macos, you might have bsd diff and travis is using gnu diff or something like that.) I haven't read the output, though. (How would we even debug that? A diff of a diff? :D)

Also, for checking the output it might be nice to disable colored output. Don't know if the crate we are using has an override for that, though.

@oli-obk
Copy link
Collaborator Author

oli-obk commented May 16, 2017

I like it with the colors. I can do cat output.txt and see what it looks like.

@oli-obk
Copy link
Collaborator Author

oli-obk commented May 16, 2017

It might also be that we don't get things in the same order every time we run rustfix. I'll investigate

@oli-obk oli-obk closed this May 16, 2017
@oli-obk oli-obk reopened this May 16, 2017
@oli-obk
Copy link
Collaborator Author

oli-obk commented May 16, 2017

whoops

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants