# A single-voter cluster: node 1 campaigns, wins instantly on its own vote, becomes leader,
# appends its election no-op entry, and commits + applies it with no peers to replicate to.
add-nodes 1 voters=(1)
----
n1: created voters={1} term=0 commit=0 last=0

campaign 1
----
n1 candidate term=1
n1 leader-changed term=1 lead=1

stabilize
----
ok

raft-state
----
n1: leader term=1 lead=1

raft-log 1
----
n1: commit=1 applied=1 last=1
  1/1 empty

