Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/pkg_manifest_minimal/do_test
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ assert_match() {
# Run MyExecutable target
output="$("${bazel}" run //Sources/MyExecutable)"
assert_match "Good morning, World!" "${output}"
assert_match "Olivia .* 30 years old" "${output}"

# Run old-style executable in my_local_package
output="$("${bazel}" run @swiftpkg_my_local_package//:print-greeting)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public class ComplexClass {
self.favoriteColors = favoriteColors
}

public func greet() {
print("Hello, my name is \(name) and I'm \(age) years old.")
public func greet() -> String {
return "Hello, my name is \(name) and I'm \(age) years old."
}

public func addFavoriteColor(color: String) {
Expand Down
Loading