beanshell / beanshell

Beanshell scripting language
Apache License 2.0
815 stars 183 forks source link

Fix interpreter prompt and unset #689

Closed nickl- closed 1 year ago

nickl- commented 1 year ago

Fixes #497 allow changing prompt and prompt function Fixes #505 unset to properly unset variables Also fixes problem with loading .bshrc file Fix repl resources not being closed Fix debug output before console is set

codecov[bot] commented 1 year ago

Codecov Report

Merging #689 (7261042) into master (7096a3a) will increase coverage by 0.06%. The diff coverage is 81.81%.

@@             Coverage Diff              @@
##             master     #689      +/-   ##
============================================
+ Coverage     72.06%   72.13%   +0.06%     
  Complexity     2868     2868              
============================================
  Files           107      107              
  Lines          9201     9201              
  Branches       1796     1796              
============================================
+ Hits           6631     6637       +6     
+ Misses         2174     2171       -3     
+ Partials        396      393       -3     
Flag Coverage Δ
unittests 72.13% <81.81%> (+0.06%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/main/java/bsh/Interpreter.java 79.13% <81.81%> (+1.29%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more