SpannedSubject.Aligned


interface SpannedSubject.Aligned


Allows assertions about the alignment of a span.

Summary

Public functions

SpannedSubject.AndSpanFlags!

Checks that at least one of the matched spans has the expected alignment.

Public functions

withAlignment

fun withAlignment(alignment: Layout.Alignment!): SpannedSubject.AndSpanFlags!

Checks that at least one of the matched spans has the expected alignment.

Parameters
alignment: Layout.Alignment!

The expected alignment.

Returns
SpannedSubject.AndSpanFlags!

A WithSpanFlags object for optional additional assertions on the flags.