Skip to content

Commit 1907aaa

Browse files
senamakelmedullabot
andcommitted
fix: remove needless hashes from Windows callback fixture
Co-authored-by: Medulla <medulla@tinyhumans.ai>
1 parent 946a0cc commit 1907aaa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎crates/tinysecurity-module/src/callbacks_tests.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn native_namespace()
5151
// Use the native fixture's .NET installer APIs, independent of cmdlet
5252
// resolution. Elevated tokens can assign Administrators as the default
5353
// owner, so both the directory and empty journal need the current user.
54-
let script = r#"
54+
let script = r"
5555
$ErrorActionPreference = 'Stop'
5656
try {
5757
$identity = [Security.Principal.WindowsIdentity]::GetCurrent()
@@ -71,7 +71,7 @@ try {
7171
$journal.Flush($true)
7272
} finally { $journal.Dispose() }
7373
} catch { exit 1 }
74-
"#;
74+
";
7575
let output = std::process::Command::new("powershell.exe")
7676
.args(["-NoProfile", "-NonInteractive", "-Command", script])
7777
.env("TINYSECURITY_CALLBACK_DIRECTORY", directory.path())

0 commit comments

Comments
 (0)