QR tests MUST use native language libraries, not qrencode CLI. If the sandbox doesn't have the library, the test should FAIL honestly so we know what to fix in the sandbox image. Also adds CLAUDE.md rule to prevent future attempts to replace native library QR tests with CLI subprocess calls.
8 lines
170 B
D
8 lines
170 B
D
import std.stdio;
|
|
import qr;
|
|
|
|
void main() {
|
|
auto qrCode = QrCode("unsandbox-qr-ok");
|
|
auto size = qrCode.size;
|
|
writefln("QR:unsandbox-qr-ok:ROWS:%d", size);
|
|
}
|