Skip to content

fix(expansion): handle negative substring offset#372

Merged
reubeno merged 1 commit into
mainfrom
fix-int-error
Feb 1, 2025
Merged

fix(expansion): handle negative substring offset#372
reubeno merged 1 commit into
mainfrom
fix-int-error

Conversation

@reubeno
Copy link
Copy Markdown
Owner

@reubeno reubeno commented Feb 1, 2025

No description provided.

@reubeno reubeno requested a review from Copilot February 1, 2025 07:19
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 1, 2025

Test Results

    2 files      9 suites   1m 32s ⏱️
  668 tests   668 ✅ 0 💤 0 ❌
1 322 runs  1 322 ✅ 0 💤 0 ❌

Results for commit 17b28e4.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 1, 2025

Performance Benchmark Report

Benchmark name Baseline (μs) Test/PR (μs) Delta (μs) Delta %
clone_shell_object 18.26 μs 18.37 μs 0.11 μs 🟠 +0.58%
eval_arithmetic 0.17 μs 0.17 μs 0.00 μs ⚪ Unchanged
expand_one_string 1.60 μs 1.61 μs 0.01 μs ⚪ Unchanged
for_loop 21.97 μs 22.23 μs 0.26 μs 🟠 +1.20%
function_call 2.33 μs 2.36 μs 0.03 μs ⚪ Unchanged
instantiate_shell 57.61 μs 57.20 μs -0.41 μs ⚪ Unchanged
instantiate_shell_with_init_scripts 21713.35 μs 21631.83 μs -81.52 μs ⚪ Unchanged
parse_bash_completion 1656.40 μs 1667.02 μs 10.63 μs ⚪ Unchanged
parse_sample_script 1.73 μs 1.77 μs 0.04 μs 🟠 +2.37%
run_echo_builtin_command 15.00 μs 15.19 μs 0.20 μs ⚪ Unchanged
run_one_external_command 2324.24 μs 2327.81 μs 3.56 μs ⚪ Unchanged
tokenize_sample_script 2.82 μs 2.84 μs 0.02 μs ⚪ Unchanged

Code Coverage Report: Only Changed Files listed

Package Base Coverage New Coverage Difference
brush-core/src/expansion.rs 🟢 96.17% 🟢 96.1% 🔴 -0.07%
Overall Coverage 🟢 75.67% 🟢 75.67% ⚪ 0%

Minimum allowed coverage is 70%, this run produced 75.67%

@reubeno reubeno enabled auto-merge (squash) February 1, 2025 07:37
@reubeno reubeno merged commit c7164d7 into main Feb 1, 2025
@reubeno reubeno deleted the fix-int-error branch February 1, 2025 07:47
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