-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding dump file #25
Closed
Closed
Adding dump file #25
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f18366f
Carrying over metadata from first macro call to properly
25bc94d
Cleaning up formatting
9af2799
Running cargo fmt (woops 😅)
92cd808
Changing function types
f5cc70a
Fixing the formatting
fafb46b
Half finished state
fc8b97a
Making Method derive Copy
45cabff
Add some simple integration test & infrastructure
killercup 1785e49
Add editorconfig file
killercup ee8f742
Rename simple test to single-panic
killercup d409416
Adding an example of a dump file so people know what data to expect
6c3932f
Oh clippy my clippy
8b0ae5b
Changing highlighting type to toml
spacekookie f22c1ee
Merge branch 'fix-dumps' of github.com:spacekookie/human-panic into a…
44ca0ff
Merge branch 'adding-dump-file' of github.com:spacekookie/human-panic…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.rs] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.toml] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ repository = "https://github.com/yoshuawuyts/human-panic" | |
homepage = "https://github.com/yoshuawuyts/human-panic" | ||
documentation = "https://docs.rs/human-panic" | ||
description = "Panic messages for humans" | ||
authors = ["Yoshua Wuyts <[email protected]>", | ||
authors = ["Yoshua Wuyts <[email protected]>", | ||
"Pascal Hertleif <[email protected]>", | ||
"Katharina Fey <[email protected]>"] | ||
readme = "README.md" | ||
|
@@ -27,3 +27,8 @@ backtrace = "0.3" | |
|
||
[features] | ||
nightly = [] | ||
|
||
[workspace] | ||
members = [ | ||
"tests/single-panic", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[package] | ||
name = "single-panic-test" | ||
version = "0.1.0" | ||
authors = ["Human Panic Authors <[email protected]>"] | ||
|
||
[dependencies] | ||
human-panic = { path = "../.." } | ||
|
||
[dev-dependencies] | ||
assert_cli = "0.5.4" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
extern crate assert_cli; | ||
|
||
#[test] | ||
fn integration() { | ||
assert_cli::Assert::main_binary() | ||
.stderr() | ||
.contains("single-panic-test") | ||
.stderr() | ||
.contains("Human Panic Authors") | ||
.stderr() | ||
.contains("[email protected]") | ||
.fails_with(101) | ||
.unwrap(); | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't reproduce this output locally, it says
/Users/pascal/.cargo/…
on my machineThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh Pascal.... 😅