Skip to content
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

Listing variable expansion patterns in the Include runner. #661

Merged
merged 6 commits into from
Oct 28, 2023
Merged

Conversation

k1LoW
Copy link
Owner

@k1LoW k1LoW commented Oct 28, 2023

ref: #660

SSIA.

@k1LoW k1LoW self-assigned this Oct 28, 2023
@k1LoW k1LoW changed the base branch from fail-test-include-loop to main October 28, 2023 02:27
Comment on lines +9 to +15
// If there is a variable expansion, it is reinterpreted in a form without quotes.
&& vars.c == 12345
&& vars.d == 54321
&& vars.e == 123459
&& vars.f == 543219
&& vars.g == 912345
&& vars.h == 954321
Copy link
Collaborator

Choose a reason for hiding this comment

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

The following expectations were assumed

Suggested change
// If there is a variable expansion, it is reinterpreted in a form without quotes.
&& vars.c == 12345
&& vars.d == 54321
&& vars.e == 123459
&& vars.f == 543219
&& vars.g == 912345
&& vars.h == 954321
// If there is a variable expansion, it is reinterpreted in a form without quotes.
&& vars.c == 12345
&& vars.d == "54321"
&& vars.e == "123459"
&& vars.f == "543219"
&& vars.g == "912345"
&& vars.h == "954321"

Copy link
Owner Author

Choose a reason for hiding this comment

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

Then, if there is variable expansion, there is no way to pass numbers.

@github-actions
Copy link
Contributor

Code Metrics Report

main (067ca7a) #661 (a5e7ab0) +/-
Coverage 70.0% 70.0% +0.0%
Code to Test Ratio 1:0.7 1:0.7 0.0
Test Execution Time 5m41s 4m45s -56s
Details
  |                     | main (067ca7a) | #661 (a5e7ab0) |  +/-  |
  |---------------------|----------------|----------------|-------|
+ | Coverage            |          70.0% |          70.0% | +0.0% |
  |   Files             |             52 |             52 |     0 |
  |   Lines             |           5727 |           5727 |     0 |
+ |   Covered           |           4007 |           4008 |    +1 |
  | Code to Test Ratio  |          1:0.7 |          1:0.7 |   0.0 |
  |   Code              |          11489 |          11489 |     0 |
  |   Test              |           8079 |           8079 |     0 |
+ | Test Execution Time |          5m41s |          4m45s |  -56s |

Reported by octocov

Copy link
Collaborator

@k2tzumi k2tzumi left a comment

Choose a reason for hiding this comment

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

It was a very good test and understanding of the behavior.
Thank you very much!

@k1LoW k1LoW merged commit 111b669 into main Oct 28, 2023
7 checks passed
@k1LoW k1LoW deleted the include-vars branch October 28, 2023 03:57
@github-actions github-actions bot mentioned this pull request Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants