-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
41 additions
and
39 deletions.
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
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,29 @@ | ||
# post_bug() works [plain] | ||
|
||
Code | ||
expect_equal(post_bug(), url) | ||
Message <cliMessage> | ||
> Please, pick a component: | ||
Output | ||
-- Documentation --------------------------------------------------------------- | ||
Message <cliMessage> | ||
> Have you read the documentation recently? | ||
Output | ||
(0 to cancel) | ||
-- Previous research ----------------------------------------------------------- | ||
Message <cliMessage> | ||
* Did you search for similar issues? | ||
* Did you search on the mailing list archive? | ||
* Did you search on forums and different sites? | ||
> Are all the above questions affirmative? | ||
-- Content of the issue -------------------------------------------------------- | ||
> Do you provide a short reproducible example of the issue? | ||
Output | ||
Maybe first check with the R-devel mailing list | ||
Message <cliMessage> | ||
> Is this issue about R and not a package? | ||
> Do you explain expectations and the buggy behaviour? | ||
> Did you try to identify the cause of the bug? | ||
! This notification will reach the R-core volunteers and many more | ||
* Are you sure to open a bug0 ? | ||
|
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,7 @@ | ||
cli::test_that_cli(configs = "plain", "post_bug() works", { | ||
skip_if_not(interactive()) | ||
url <- paste0(missing_host(), "rest/bug") | ||
expect_snapshot({ | ||
expect_equal(post_bug(), url) | ||
}) | ||
}) |
This file was deleted.
Oops, something went wrong.