diff options
Diffstat (limited to 'src/vs/workbench/contrib/testing/common/testTypes.ts')
-rw-r--r-- | src/vs/workbench/contrib/testing/common/testTypes.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vs/workbench/contrib/testing/common/testTypes.ts b/src/vs/workbench/contrib/testing/common/testTypes.ts index 6f3e639ef90..29ae1628071 100644 --- a/src/vs/workbench/contrib/testing/common/testTypes.ts +++ b/src/vs/workbench/contrib/testing/common/testTypes.ts @@ -117,7 +117,7 @@ export namespace IRichLocation { export const enum TestMessageType { Error, - Info + Output } export interface ITestErrorMessage { @@ -156,7 +156,7 @@ export namespace ITestErrorMessage { export interface ITestOutputMessage { message: string; - type: TestMessageType.Info; + type: TestMessageType.Output; offset: number; location: IRichLocation | undefined; } @@ -165,20 +165,20 @@ export namespace ITestOutputMessage { export interface Serialized { message: string; offset: number; - type: TestMessageType.Info; + type: TestMessageType.Output; location: IRichLocation.Serialize | undefined; } export const serialize = (message: ITestOutputMessage): Serialized => ({ message: message.message, - type: TestMessageType.Info, + type: TestMessageType.Output, offset: message.offset, location: message.location && IRichLocation.serialize(message.location), }); export const deserialize = (message: Serialized): ITestOutputMessage => ({ message: message.message, - type: TestMessageType.Info, + type: TestMessageType.Output, offset: message.offset, location: message.location && IRichLocation.deserialize(message.location), }); |