Files
swift-mirror/test/SourceKit/CodeComplete/complete_playground_symlink.swift
Robert Widmann 6509f78f13 tests: replace remaining 'mkdir -p' calls with %empty-directory(...)'
These changes were made manually.
2017-06-04 11:08:39 -07:00

10 lines
559 B
Swift

// RUN: %empty-directory(%t.dir)
// RUN: %empty-directory(%t.dir/test.playground)
// RUN: echo "let foo_blah = 0" > %t.dir/input.swift
// RUN: echo "" >> %t.dir/input.swift
// RUN: ln -s %t.dir/test.playground %t.dir/linked.playground
// RUN: %sourcekitd-test -req=complete -pos=2:1 -text-input %t.dir/input.swift %t.dir/test.playground -- %t.dir/test.playground | %FileCheck %s
// RUN: %sourcekitd-test -req=complete -pos=2:1 -text-input %t.dir/input.swift %t.dir/linked.playground -- %t.dir/linked.playground | %FileCheck %s
// CHECK: key.name: "foo_blah"