Buckets:
localhost1978/localhost / LOCALHOST1978 /Modules /SSK_Providers /Tests /SSK_ProvidersTests /DocGenExternalRedactorTests.swift
| import Testing | |
| @testable import SSK_Providers | |
| ("DocGen external redactor") | |
| struct DocGenExternalRedactorTests { | |
| ("Long prefixes are replaced before short prefixes") | |
| func longestPrefixFirst() throws { | |
| let redactor = DocGenExternalRedactor(sensitivePrefixes: [ | |
| (value: "/Users/test", label: "<home>"), | |
| (value: "/Users/test/SSK", label: "<workspace>") | |
| ]) | |
| let result = try redactor.redact("/Users/test/SSK/file.swift") | |
| #expect(result == "<workspace>/file.swift") | |
| } | |
| } | |
Xet Storage Details
- Size:
- 545 Bytes
- Xet hash:
- 61e9c917dabe5c722c313390458ba19e895495c164dd89120f0f5d2035adaadb
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.