Skip to content

Commit

Permalink
Add more macro expansion tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Oct 14, 2020
1 parent 2ae2750 commit 6b8e22f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion t/macros.t
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
#!/usr/bin/perl -w

use strict;
use Test::More tests => 14;
use Test::More tests => 20;

use Build::Rpm;

my @tests = (
q{
%%} => '%',
q{
%{%}} => '%{%}',
q{
%not_defined} => '%not_defined',
q{
%{not_defined}} => '%{not_defined}',
q{
%{}} => '%{}',
q{
%{ test }} => '%{ test }',
q{
%define this that
%{this}} => 'that',
q{
Expand Down

0 comments on commit 6b8e22f

Please sign in to comment.