@import "true";
@import "scss/variables/functions-variables";
@import "scss/functions";

@include describe("aggregate-selectors [function]") {
  @include it("returns a selector when passed a single selector and modifier") {
    @include assert-equal(
      aggregate-selectors(h1, ":last-of-type"),
      "h1:last-of-type"
    )
  }
  @include it("returns a comma list when passed a list of selectors and a single modifier") {
    $selectors: "h1:first-of-type", "h2:first-of-type";

    @include assert-equal(
      aggregate-selectors((h1, h2), ":first-of-type"),
      $selectors
    )
  }
}
