File tree Expand file tree Collapse file tree 1 file changed +49
-49
lines changed
crates/pgt_diagnostics/src Expand file tree Collapse file tree 1 file changed +49
-49
lines changed Original file line number Diff line number Diff line change @@ -426,55 +426,55 @@ mod tests {
426426 }
427427 }
428428
429- fn serialized ( ) -> Value {
430- let advices = json ! ( [
431- {
432- "log" : [
433- "warn" ,
434- [
435- {
436- "elements" : [ ] ,
437- "content" : "log"
438- }
439- ]
440- ]
441- }
442- ] ) ;
443-
444- json ! ( {
445- "category" : "internalError/io" ,
446- "severity" : "warning" ,
447- "description" : "text description" ,
448- "message" : [
449- {
450- "elements" : [
451- "Emphasis"
452- ] ,
453- "content" : "markup message"
454- }
455- ] ,
456- "advices" : {
457- "advices" : advices
458- } ,
459- "verbose_advices" : {
460- "advices" : advices
461- } ,
462- "location" : {
463- "path" : {
464- "file" : "path"
465- } ,
466- "sourceCode" : "source_code" ,
467- "span" : [
468- 0 ,
469- 6
470- ]
471- } ,
472- "tags" : [
473- "internal"
474- ] ,
475- "source" : null
476- } )
477- }
429+ // fn serialized() -> Value {
430+ // let advices = json!([
431+ // {
432+ // "log": [
433+ // "warn",
434+ // [
435+ // {
436+ // "elements": [],
437+ // "content": "log"
438+ // }
439+ // ]
440+ // ]
441+ // }
442+ // ]);
443+ //
444+ // json!({
445+ // "category": "internalError/io",
446+ // "severity": "warning",
447+ // "description": "text description",
448+ // "message": [
449+ // {
450+ // "elements": [
451+ // "Emphasis"
452+ // ],
453+ // "content": "markup message"
454+ // }
455+ // ],
456+ // "advices": {
457+ // "advices": advices
458+ // },
459+ // "verbose_advices": {
460+ // "advices": advices
461+ // },
462+ // "location": {
463+ // "path": {
464+ // "file": "path"
465+ // },
466+ // "sourceCode": "source_code",
467+ // "span": [
468+ // 0,
469+ // 6
470+ // ]
471+ // },
472+ // "tags": [
473+ // "internal"
474+ // ],
475+ // "source": null
476+ // })
477+ // }
478478
479479 // #[test]
480480 // fn test_serialize() {
You can’t perform that action at this time.
0 commit comments