Files
swift-mirror/test/SourceKit/ExtractComment/extract_comments.swift
Doug Gregor 823c24b355 [SE-0112] Rename ErrorProtocol to Error.
This is bullet (5) of the proposed solution in SE-0112, and the last
major piece to be implemented.
2016-07-12 10:53:52 -07:00

29 lines
1.8 KiB
Swift

// RUN: %sourcekitd-test -req=extract-comment -pass-as-sourcetext %S/Inputs/DocComment1.swift > %t.DocComment1.response
// RUN: diff -u %s.DocComment1.response %t.DocComment1.response
// RUN: %sourcekitd-test -req=extract-comment -pass-as-sourcetext %S/Inputs/DocComment2.swift > %t.DocComment2.response
// RUN: diff -u %s.DocComment2.response %t.DocComment2.response
// RUN: %sourcekitd-test -req=extract-comment -pass-as-sourcetext %S/Inputs/DocComment3.swift > %t.DocComment3.response
// RUN: diff -u %s.DocComment3.response %t.DocComment3.response
// RUN: %sourcekitd-test -req=extract-comment -pass-as-sourcetext %S/Inputs/DocCommentEmptyLine1.swift > %t.DocCommentEmptyLine1.response
// RUN: diff -u %s.DocCommentEmptyLine1.response %t.DocCommentEmptyLine1.response
// RUN: %sourcekitd-test -req=extract-comment -pass-as-sourcetext %S/Inputs/DocCommentEmptyLine2.swift > %t.DocCommentEmptyLine2.response
// RUN: diff -u %s.DocCommentEmptyLine2.response %t.DocCommentEmptyLine2.response
// RUN: %sourcekitd-test -req=extract-comment -pass-as-sourcetext %S/Inputs/DocCommentEmptyLine3.swift > %t.DocCommentEmptyLine3.response
// RUN: diff -u %s.DocCommentEmptyLine3.response %t.DocCommentEmptyLine3.response
// RUN: %sourcekitd-test -req=extract-comment -pass-as-sourcetext %S/Inputs/Comment1.swift > %t.Comment1.response
// RUN: diff -u %s.Comment1.response %t.Comment1.response
// RUN: %sourcekitd-test -req=extract-comment -pass-as-sourcetext %S/Inputs/CommentIndent1.swift > %t.CommentIndent1.response
// RUN: diff -u %s.CommentIndent1.response %t.CommentIndent1.response
// RUN: %sourcekitd-test -req=extract-comment -pass-as-sourcetext %S/Inputs/CommentIndent2.swift > %t.CommentIndent2.response
// RUN: diff -u %s.CommentIndent2.response %t.CommentIndent2.response
// RUN: %sourcekitd-test -req=extract-comment -pass-as-sourcetext %S/Inputs/NotComment1.swift