Skip to content

Commit

Permalink
Item15148: fix release string and test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Jun 21, 2022
1 parent f1b60a0 commit eff6629
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Encode,>=2.32,cpan,required, other versions may work, but 2.12 is known bad
File::Remove,>=0,cpan,required, used to remove test fixtures
Foswiki::Plugins::TestFixturePlugin,>=0,perl,optional, used for semi-automatic test cases (TestCases web)
HTML::Parser,>=0,cpan,required
HTML::Tidy5,>1.0,cpan,required
HTML::Tidy5,>1.51,cpan,required
HTML::TreeBuilder,>=0,cpan,required
WWW::Selenium,>=0,cpan,optional, used for browser-in-the-loop tests
Test::WWW::Selenium,>=0,cpan,optional, used for browser-in-the-loop tests
6 changes: 4 additions & 2 deletions UnitTestContrib/test/unit/DependencyTests.pm
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ sub test_check_foswiki_rev {
$this->assert_equals( 1, $ok );

# e.g. Foswiki version 17 Jun 2022 installed
$this->assert_matches( qr/^Foswiki version \d+ \w+ \d\d\d\d installed$/,
$message );
$this->assert_matches(
qr/^Foswiki version \d+ \w+ \d\d\d\d ((Alpha|alpha|Beta|beta)\s)?installed$/,
$message
);

}

Expand Down
2 changes: 1 addition & 1 deletion core/lib/Foswiki.pm
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ BEGIN {
# DO NOT CHANGE THE FORMAT OF $VERSION.
# Use $RELEASE for a descriptive version.
use version 0.77; $VERSION = version->declare('v2.1.999_001');
$RELEASE = 'Foswiki-2.2.0 Alpha';
$RELEASE = '21 Jun 2022 Alpha';

# Default handlers for different %TAGS%
# Where an entry is set as 'undef', the tag will be demand-loaded
Expand Down

0 comments on commit eff6629

Please sign in to comment.