mirror of
https://github.com/sasjs/core.git
synced 2026-01-03 15:40:05 +00:00
feat: updating mf_getuniquefileref() to use native approach to get a unique fileref (which is 100 times faster than the old approach)
This commit is contained in:
17
tests/crossplatform/mf_getuniquefileref.test.sas
Normal file
17
tests/crossplatform/mf_getuniquefileref.test.sas
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
@file
|
||||
@brief Testing mf_getuniquefileref macro
|
||||
|
||||
<h4> SAS Macros </h4>
|
||||
@li mf_getuniquefileref.sas
|
||||
@li mp_assert.sas
|
||||
|
||||
**/
|
||||
|
||||
%mp_assert(
|
||||
iftrue=(
|
||||
"%substr(%mf_getuniquefileref(),1,1)"="#"
|
||||
),
|
||||
desc=Checking for a temp fileref,
|
||||
outds=work.test_results
|
||||
)
|
||||
Reference in New Issue
Block a user