Skip to content

Commit

Permalink
PiperOrigin-RevId: 203116395
Browse files Browse the repository at this point in the history
  • Loading branch information
brandjon authored and Copybara-Service committed Jul 3, 2018
1 parent 6af6c2d commit e047900
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions site/docs/skylark/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,11 @@ myrule = rule(

`//mypkg/myrules_test.bzl`:


```python
load("@bazel_skylib//:lib.bzl", "asserts", "unittest")
load(":myrules.bzl", "myrule", "MyInfo")

# ==== Check the provider contents ====

def _provider_contents_test_impl(ctx):
Expand Down Expand Up @@ -418,6 +420,7 @@ def myhelper():

`//mypkg/myhelpers_test.bzl`:


```python
load("@bazel_skylib//:lib.bzl", "asserts", "unittest")
load(":myhelpers.bzl", "myhelper")
Expand Down

0 comments on commit e047900

Please sign in to comment.