aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-03-02 13:14:10 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2017-03-02 13:14:10 +0200
commit90cfc43a637d269d05d82653700a2735839129de (patch)
tree780a24ca39e6dcf6c4a3aa46a01ede711acac3a8 /t
parentd84f9c8d98e07b410b387140084bcd1ad02fed29 (diff)
downloadbeam-90cfc43a637d269d05d82653700a2735839129de.tar.gz
beam-90cfc43a637d269d05d82653700a2735839129de.tar.bz2
Document App::Beam::Config
Rename the isscalar method to isvariable.
Diffstat (limited to 't')
-rw-r--r--t/conf02.t2
-rw-r--r--t/conf02l.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/conf02.t b/t/conf02.t
index 9447060..55e7b86 100644
--- a/t/conf02.t
+++ b/t/conf02.t
@@ -23,7 +23,7 @@ my %keywords = (
my $cfg = new TestConfig(parameters => \%keywords);
ok($cfg->isset('backend','foo','file'));
-ok($cfg->isscalar('backend','foo','file'));
+ok($cfg->isvariable('backend','foo','file'));
ok($cfg->get('backend','foo','file'), 'foo');
ok($cfg->isset('core', 'verbose') == 0);
diff --git a/t/conf02l.t b/t/conf02l.t
index c57b0ae..da4920a 100644
--- a/t/conf02l.t
+++ b/t/conf02l.t
@@ -23,7 +23,7 @@ my %keywords = (
my $cfg = new TestConfig(parameters => \%keywords, locations => 1);
ok($cfg->isset('backend','foo','file'));
-ok($cfg->isscalar('backend','foo','file'));
+ok($cfg->isvariable('backend','foo','file'));
ok($cfg->get('backend','foo','file'), 'foo');
ok($cfg->isset('core', 'verbose') == 0);

Return to:

Send suggestions and report system problems to the System administrator.