Skip to content

Commit

Permalink
Added FILE_NOTIFY_CHANGE_DIR_NAME test
Browse files Browse the repository at this point in the history
  • Loading branch information
madsen committed Dec 12, 2010
1 parent 01cb04f commit 761e275
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion t/50-ChangeNotify.t
Expand Up @@ -18,7 +18,7 @@ plan skip_all => "File::Temp required for testing Win32::ChangeNotify" if $@;
eval "use File::Path 'rmtree';";
plan skip_all => "File::Path required for testing Win32::ChangeNotify" if $@;

plan tests => 20;
plan tests => 21;

diag(<<'END_WARNING');
This test should take no more than 10 seconds.
Expand Down Expand Up @@ -77,6 +77,10 @@ sub wPath

ok(FILE_NOTIFY_CHANGE_FILE_NAME != 0, 'FILE_NOTIFY_CHANGE_FILE_NAME');

is(FILE_NOTIFY_CHANGE_DIR_NAME,
Win32::ChangeNotify::constant('FILE_NOTIFY_CHANGE_DIR_NAME'),
'FILE_NOTIFY_CHANGE_DIR_NAME');

ok(INFINITE != 0, 'INFINITE');

#---------------------------------------------------------------------
Expand Down

0 comments on commit 761e275

Please sign in to comment.