MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / makeFakeCompilerInfo

Function makeFakeCompilerInfo

test/utils.ts:76–78  ·  view source on GitHub ↗
(props: Partial<CompilerInfo>)

Source from the content-addressed store, hash-verified

74}
75
76export function makeFakeCompilerInfo(props: Partial<CompilerInfo>): CompilerInfo {
77 return props as CompilerInfo;
78}
79
80export function makeFakeLanguage(props: Partial<Language>): Language {
81 return props as Language;

Callers 15

fakeCompilerInfoFunction · 0.70
makeCompilerFunction · 0.70
odin-tests.tsFile · 0.70
d-tests.tsFile · 0.70
win-path-tests.tsFile · 0.70
constructorMethod · 0.70
makeCompilerFunction · 0.70
nim-tests.tsFile · 0.70
testGoAsmFunction · 0.70
golang-tests.tsFile · 0.70
ppci-tests.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected