- is( cwd(), $new_dir, "changed to new directory" ); + is( File::Spec->canonpath( cwd() ), $new_dir, "changed to new directory" );