Skip to content

Commit

Permalink
Testing again
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlk committed Apr 15, 2024
1 parent ee2b4cc commit 192bce7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ inputs:
ignore_file_deletions:
description: 'Ignore lines that are deleted, thereby only considering additions.'
required: false
default: false
default: 'false'
runs:
using: 'docker'
image: 'Dockerfile'
Expand Down
3 changes: 2 additions & 1 deletion tests/github_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ function set_up() {
function test_should_ignore_files_with_glob() {
local -r pr_number=123
local -r files_to_ignore=("*.lock" ".editorconfig")

mock curl cat ./tests/fixtures/test_should_ignore_files_with_regex_response

assert_match_snapshot "$(github::calculate_total_modifications "$pr_number" "${files_to_ignore[*]}")"
assert_match_snapshot "$(github::calculate_total_modifications "$pr_number" "${files_to_ignore[*]}" "false")"
}

0 comments on commit 192bce7

Please sign in to comment.