- is( canonpath( [ splitpath( cwd(), 1 ) ]->[1] ), - $new_dir, + is( canonpath( [ splitpath( cwd(), 1 ) ]->[1] ), + canonpath( [ splitpath( $new_dir, 1 ) ]->[1] ), "changed to new directory" );